ソースを参照

[GIN] Missing err check in suggest.go

M. Sonntag 4 年 前
コミット
a059c781ce
1 ファイル変更1 行追加1 行削除
  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)
 }