enumer/examples/gomods
Dan Markham 24de023e5c
Add a example for go mods use
2019-04-07 23:56:38 -07:00
..
README.md Add a example for go mods use 2019-04-07 23:56:38 -07:00
go.mod Add a example for go mods use 2019-04-07 23:56:38 -07:00
go.sum Add a example for go mods use 2019-04-07 23:56:38 -07:00
main.go Add a example for go mods use 2019-04-07 23:56:38 -07:00

README.md

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.