Team Onboarding Basics
9 examples to get you started with Team & Onboarding - 7 basic and 2 intermediate.
Search across all documentation pages
9 examples to get you started with Team & Onboarding - 7 basic and 2 intermediate.
go version matches the version in CI (check .github/workflows or Makefile).golangci-lint if your repo documents it; verify the version against team standards.Confirm Go and module metadata before touching application code.
// Run in repo root after clone:
// go version
// go mod download
// go env GOMOD GOPATHgo version
go mod download
go env GOMODgo mod download fetches modules listed in go.mod without building.GOMOD shows the active module file path; empty means you are outside a module.Related: Onboarding Go Specialists - ramp paths for experienced hires
Green tests are the baseline proof that your laptop matches the team environment.
go test ./..../... recurses all packages under the current module.-race when your team requires it for concurrency packages.Related: Go SME Onboarding Checklist (30/60/90) - day-30 test expectations
Automate what reviewers will ask for anyway.
gofmt -w .
go vet ./...gofmt is the only official formatter; unformatted code should not merge.go vet flags suspicious constructs; many teams run it in CI.golangci-lint run when the repo ships a .golangci.yml.Related: Code Review Culture for Go - what reviewers expect on every PR
Learn where binaries start and how packages connect.
go list -f '{{.ImportPath}}' ./...
grep -r "func main" cmd/ 2>/dev/null || grep -r "func main" .cmd/<binary>/main.go layout.go list shows import paths your module owns.main location helps you trace wiring on day one.Related: Effective Go Reading Path - study order after repo orientation
Preview godoc the way reviewers expect exported APIs to read.
go doc ./internal/config
go doc -all ./...go doc is faster than spelunking files when exploring unfamiliar packages.Related: Documentation & godoc Conventions - team comment standards
Reproduce pipeline steps locally before pushing.
make test
# or
./scripts/ci.shgo test, lint, and build behind make for consistency.Related: Onboarding Go Specialists - why CI parity matters in week one
Merge something low-risk to learn the review workflow.
Typical first PRs: fix a typo in README, add a missing godoc sentence, or extend a table-driven test.
git checkout -b onboarding/first-pr
# edit files
go test ./...
git commit -m "docs: clarify local setup steps"
git push -u origin HEADRelated: Pairing & Mob Sessions for Go Teams - optional pairing before first push
Follow one request path to see idiomatic error and context usage in your codebase.
func (s *Server) handleHealth(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
if err := s.db.Ping(ctx); err != nil {
http.Error(w, "unavailable", http.StatusServiceUnavailable)
return
}
w.WriteHeader(http.StatusOK)
}r.Context() carries deadlines and cancellation from the server.error.Related: Effective Go Reading Path - concurrency and HTTP sections next
Structured pairing beats ad-hoc screen sharing for week-one learning.
Agenda template:
cmd/ binaries (15 min).-race test run or linter fix (25 min).Related: Pairing & Mob Sessions for Go Teams - mob formats and concurrency drills
Stack versions: This page was written for Go 1.26.x (Green Tea GC default, go fix modernizers - verify patch at build), chi (latest - verify at build), gin (latest - verify at build), echo (latest - verify at build), google.golang.org/grpc (latest - verify at build), sigs.k8s.io/controller-runtime (latest - verify at build), kubebuilder (latest - verify at build), tinygo (latest - verify board targets at build), wazero (latest - verify at build), and golangci-lint (latest - verify linter set at build).
Reviewed by Chris St. John·Last updated Jul 18, 2026