fix golint errors

This commit is contained in:
2026-02-12 18:00:32 +03:00
parent a058b622e3
commit ccabeee1f1
10 changed files with 74 additions and 28 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func (s *Storage) GetShowCounts(ctx context.Context, memoNames []string) (map[st
args[i] = name
}
query := fmt.Sprintf(
query := fmt.Sprintf( //nolint:gosec // placeholders are always "?"
`SELECT memo_name, COUNT(*) FROM show_history WHERE memo_name IN (%s) GROUP BY memo_name`,
strings.Join(placeholders, ","))