This is a small Go package that serves as an example for how to write, test, and document Go libraries. It is covered in detail in the article: "The anatomy of a Go project"
go get github.com/afshin/prime
go test -cover github.com/afshin/prime
This is a small Go package that serves as an example for how to write, test, and document Go libraries. It is covered in detail in the article: "The anatomy of a Go project"
go get github.com/afshin/prime
go test -cover github.com/afshin/prime