Skip to content

vasylherman/go-tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

installing go

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-tdd

The built-in documentation provides an overview of all available go mod commands.

go help mod
go help mod init

An improvement over the default linter can be configured using GolangCI-Lint.

brew install golangci-lint

Go's tool for viewing documentation

go install golang.org/x/pkgsite/cmd/pkgsite@latest
pkgsite -open .

useful commands

go test ./arrays -bench=.
go test ./arrays -v -cover

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages