Skip to content

Fix | Resolve golangci-lint warnings for modernize and staticcheck#397

Merged
dag-andersen merged 1 commit intomainfrom
fix/lint-issues
Apr 6, 2026
Merged

Fix | Resolve golangci-lint warnings for modernize and staticcheck#397
dag-andersen merged 1 commit intomainfrom
fix/lint-issues

Conversation

@dag-andersen
Copy link
Copy Markdown
Owner

Summary

  • Use atomic.Uint64 instead of plain uint64 + atomic.AddUint64 in pkg/utils/utils.go (modernize)
  • Use fmt.Fprintf instead of WriteString(fmt.Sprintf(...)) in pkg/diff/markdown.go (staticcheck)

Both issues were flagged by golangci-lint run.

@dag-andersen dag-andersen merged commit 9b4c61d into main Apr 6, 2026
3 checks passed
@dag-andersen dag-andersen deleted the fix/lint-issues branch April 6, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant