Skip to content

fix: gofmt formatting and go vet/staticcheck fixes#245

Open
marcus wants to merge 1 commit intomainfrom
lint-fix/gofmt-and-vet
Open

fix: gofmt formatting and go vet/staticcheck fixes#245
marcus wants to merge 1 commit intomainfrom
lint-fix/gofmt-and-vet

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Mar 24, 2026

Summary

  • Run gofmt -w on 92 files with formatting issues
  • Remove 3 references to deleted sessionIndex field from opencode adapter test struct literals (go vet fix)
  • Move unused calculateCost function from adapter.go to adapter_test.go (staticcheck U1000 fix)

Test plan

  • go vet ./... passes with no errors
  • go build ./... compiles cleanly
  • All adapter tests pass (go test ./internal/adapter/...)

🤖 Generated with Claude Code

…nly calculateCost

Run gofmt -w on 92 files with formatting issues. Remove references to
deleted sessionIndex field from opencode adapter test struct literals (3
occurrences). Move unused calculateCost function from adapter.go to
adapter_test.go where it is exclusively used (staticcheck U1000).

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
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