https://quii.gitbook.io/learn-go-with-tests/go-fundamentals/install-go Using Modules is pretty straightforward. Select any directory outside GOPATH as the root of your project, and create a new module with the go mod init command.
go mod init go-tddgo help mod
go help mod initbrew install golangci-lintgo install golang.org/x/pkgsite/cmd/pkgsite@latest
pkgsite -open .go test ./arrays -bench=.
go test ./arrays -v -cover