From: Scott Worley Date: Sun, 19 Aug 2012 05:11:29 +0000 (-0700) Subject: gofmt X-Git-Url: http://git.scottworley.com/reliable-chat/commitdiff_plain/67dc084dd8db67bda9551dc9856638353b4ed692?hp=549a590ff61432e3148005a31bcc2d1b663ab4e1 gofmt --- diff --git a/server/server.go b/server/server.go index 74e116f..0c40784 100644 --- a/server/server.go +++ b/server/server.go @@ -154,7 +154,7 @@ func start_server(store Store) { }) http.HandleFunc("/robots.txt", func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte(robots_txt)); + w.Write([]byte(robots_txt)) }) log.Fatal(http.ListenAndServe(*localaddress+":"+strconv.Itoa(*port), nil)) diff --git a/server/server_test.go b/server/server_test.go index 208256d..5031c89 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -92,7 +92,7 @@ func TestMultipleListeners(t *testing.T) { if len(messages) != 1 { t.FailNow() } - expectMessage(t,& messages[0], at, id, say) + expectMessage(t, &messages[0], at, id, say) } close(store.Get) close(store.Add)