Fixed warnings generated by go vet

This commit is contained in:
sm
2014-04-14 00:39:42 -07:00
parent faacfe7fd9
commit 9e1cd272f7
6 changed files with 31 additions and 32 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ func (c *Controller) StartGame(w http.ResponseWriter, req *http.Request) {
if req.Method == "POST" {
body, err := ioutil.ReadAll(req.Body)
if err != nil {
log.Printf("unable to read request body:", err)
log.Printf("unable to read request body: %v", err)
}
req.Body.Close()
cfg := struct {