Track gqlgen as a Go tool so make generate runs
go run needed gqlgen's CLI dependencies in go.sum, and go mod tidy drops them because nothing in the module imports them. A tool directive records them, and go tool runs the pinned version. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -55,6 +55,7 @@ require (
|
||||
github.com/tidwall/sjson v1.2.5 // indirect
|
||||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
||||
github.com/ugorji/go/codec v1.3.0 // indirect
|
||||
github.com/urfave/cli/v3 v3.11.0 // indirect
|
||||
go.uber.org/mock v0.5.0 // indirect
|
||||
go.yaml.in/yaml/v4 v4.0.0-rc.2 // indirect
|
||||
golang.org/x/arch v0.20.0 // indirect
|
||||
@@ -67,3 +68,5 @@ require (
|
||||
golang.org/x/tools v0.49.0 // indirect
|
||||
google.golang.org/protobuf v1.36.12 // indirect
|
||||
)
|
||||
|
||||
tool github.com/99designs/gqlgen
|
||||
|
||||
Reference in New Issue
Block a user