Fixed Go formatting
This commit is contained in:
parent
82d87846ff
commit
ba5b46217c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue