Explorar el Código

[GIN] Missing err check in suggest.go

M. Sonntag hace 4 años
padre
commit
a059c781ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      internal/route/suggest.go

+ 1 - 1
internal/route/suggest.go

@@ -32,5 +32,5 @@ func ExploreSuggest(c *context.Context) {
 		return
 	}
 
-	c.Write(data)
+	_, _ = c.Write(data)
 }