enumer/examples/gomods/README.md

247 B

Go Modules Sample

Steps

  1. Go get enumer go get -u github.com/igormiku/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.