auto install things for "go generate" and then clean up afterwards

This commit is contained in:
David Sharnoff 2023-03-01 12:43:09 -08:00 committed by Tim Möhlmann
parent 2d4ce6fde3
commit 1eb4ee1c8e
3 changed files with 2 additions and 14 deletions

View file

@ -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