Skip to content

style: gofmt doc comments and sorted test imports - #62

Merged
creativeprojects merged 1 commit into
creativeprojects:mainfrom
giantswarm:upstream/gofmt
Oct 29, 2026
Merged

creativeprojects merged 1 commit into
creativeprojects:mainfrom
giantswarm:upstream/gofmt

Conversation

@QuentinBisson

Copy link
Copy Markdown
Contributor

gofmt -l . currently lists doc.go, update/doc.go, mockdata_test.go and validate_test.go: the two package docs predate gofmt's doc-comment form (Go 1.19), and the ProtonMail openpgp imports from #58 are out of order in the two test files. This is plain gofmt -w output, with no code change.

Tested with make build test and golangci-lint v2.15.0 (0 issues).

@creativeprojects
creativeprojects merged commit 8ea35fe into creativeprojects:main Oct 29, 2026
6 checks passed
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.96%. Comparing base (81c5a15) to head (5864877).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #62   +/-   ##
=======================================
  Coverage   80.96%   80.96%           
=======================================
  Files          28       28           
  Lines        1161     1161           
=======================================
  Hits          940      940           
  Misses        218      218           
  Partials        3        3           
Flag Coverage Δ
unittests 80.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants