We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This can be prevented by adding a tools.go file:
tools.go
//go:build tools package tools import ( // Protect this entry in go.mod from being removed by go mod tidy. _ "github.com/dmarkham/enumer" )
Should probably go into README.md.
README.md
The text was updated successfully, but these errors were encountered:
Context: The README currently says
For a module-aware repo with enumer in the go.mod file, generation can be called by adding the following to a .go source file: //go:generate go run github.com/dmarkham/enumer -type=YOURTYPE
For a module-aware repo with enumer in the go.mod file, generation can be called by adding the following to a .go source file:
//go:generate go run github.com/dmarkham/enumer -type=YOURTYPE
so that's why you might want enumer in your go.mod.
Sorry, something went wrong.
samiam2013
No branches or pull requests
This can be prevented by adding a
tools.go
file:Should probably go into
README.md
.The text was updated successfully, but these errors were encountered: