Skip to content

chore: run gofmt on 51 files and fix go vet error#64

Closed
leegonzales wants to merge 1 commit intodanshapiro:mainfrom
leegonzales:chore/gofmt-govet-hygiene
Closed

chore: run gofmt on 51 files and fix go vet error#64
leegonzales wants to merge 1 commit intodanshapiro:mainfrom
leegonzales:chore/gofmt-govet-hygiene

Conversation

@leegonzales
Copy link
Copy Markdown

Summary

  • Ran gofmt across the entire codebase — 51 files reformatted
  • Fixed a go vet error (composite literal uses unkeyed fields)

This unblocks main CI, which currently fails the gofmt gate on cli_only_models_test.go (and 50 other files).

Verification

  • gofmt -l . — clean (zero output)
  • go vet ./... — clean (zero warnings)
  • No behavioral changes — formatting only

Note

There are 3 pre-existing test failures in provider_preflight_test.go that are environment-dependent (missing API key env vars). These exist on main as well and are unrelated to this change.

- Applied gofmt to all 51 unformatted Go files across the codebase
- Fixed go vet error in internal/server/integration_test.go:564
  where resp was used before checking for errors from http.Get
- Also added error check on JSON decode in the same test

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@leegonzales
Copy link
Copy Markdown
Author

Superseded — main absorbed most of the 51-file gofmt fix independently. Only 1 file remains; opening a minimal replacement PR.

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