auto install things for "go generate" and then clean up afterwards
This commit is contained in:
parent
2d4ce6fde3
commit
1eb4ee1c8e
3 changed files with 2 additions and 14 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
|
||||
//go:generate go get github.com/dmarkham/enumer
|
||||
//go:generate go run github.com/dmarkham/enumer -linecomment -sql -json -text -yaml -gqlgen -type=ApplicationType,AccessTokenType
|
||||
//go:generate go mod tidy
|
||||
|
||||
const (
|
||||
ApplicationTypeWeb ApplicationType = iota // web
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue