go

go_default

Configuration

Minimum Version
1.22
Package Manager
go-modules
Test Framework
go-test
Linter
golangci-lint
Formatter
gofmt
Test Runner
go-test

Policy

Use go modules for dependency management.
Run gofmt before committing code.
Use golangci-lint with a comprehensive config.

Commands

lint golangci-lint run
test go test ./...
build go build ./...
format gofmt -w .

Included in Rulesets

Django Best Practices
36 rules • 1 standard
View
Go Best Practices
21 rules • 1 standard
View
MongoDB Best Practices
25 rules • 1 standard
View
Cargo Standards
23 rules • 2 standards
View

Add This Standard

Sign in to add this standard to your workspace

Sign in with GitHub

Details

Language
go
Framework
Used in
4 rulesets