Fixed Go formatting

This commit is contained in:
DazWilkin 2016-07-31 17:30:34 -07:00
parent 82d87846ff
commit ba5b46217c
4 changed files with 48 additions and 48 deletions

View File

@ -10,7 +10,7 @@ import (
func ParticleWebhookRequest(urlEncodedString string, t *testing.T) { func ParticleWebhookRequest(urlEncodedString string, t *testing.T) {
var acc testutil.Accumulator var acc testutil.Accumulator
pwh:= &ParticleWebhook{Path: "/particle", acc: &acc} pwh := &ParticleWebhook{Path: "/particle", acc: &acc}
req, _ := http.NewRequest("POST", "/particle", urlEncodedString) req, _ := http.NewRequest("POST", "/particle", urlEncodedString)
w := httptest.NewRecorder() w := httptest.NewRecorder()
pwh.eventHandler(w, req) pwh.eventHandler(w, req)