enumer/examples/gomods/README.md

9 lines
249 B
Markdown

# Go Modules Sample
## Steps
1. Go get enumer `go get -u github.com/dmarkham/enumer`
2. `go generate` This should create `pill_enumer.go`
3. `go run *.go` to see it in action
4. `go mod tidy` to remove the deps for `enumer` once your happy.