A small package to show Go documentation and testing practices
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
example_test.go
prime.go
prime_test.go

README.md

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"

Install

go get github.com/afshin/prime

Test

go test -cover github.com/afshin/prime

Documentation

API documentation

Test coverage

Coverage status