SuperAPI AI Directory

golang-development

Coding & development

View repository

Updated 10-16 03:38

About this skill

Go
  • Use latest Go version (verify, don't assume). Build with -ldflags="-s -w"
  • Check modernity: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
  • Copy golangci config: $HOME/git/sammcj/mcp-devtools/.golangci.yml
  • Idiomatic Go: explicit error handling, early returns, small interfaces, composition, defer for cleanup, table-driven tests

Go Testing

  • When working with tests in Go, read in references/go-testing.md for actionable testing guidelines.