Fixed warnings generated by go vet
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user