2

I get an error when I try to generate schema in gqlgen :

type :

go run github.com/99designs/gqlgen generate

Errors :

..\..\..\..\..\go\pkg\mod\github.com\99designs\[email protected]\main.go:20:2: missing go.sum entry for module providing package github.com/urfave/cli/v2 (imported by github.com/99designs/gqlgen); to add:        
        go get github.com/99designs/[email protected]
..\..\..\..\..\go\pkg\mod\github.com\99designs\[email protected]\codegen\field.go:16:2: missing go.sum entry for module providing package golang.org/x/text/cases (imported by github.com/99designs/gqlgen/codegen); to add:
        go get github.com/99designs/gqlgen/[email protected]
..\..\..\..\..\go\pkg\mod\github.com\99designs\[email protected]\codegen\field.go:17:2: missing go.sum entry for module providing package golang.org/x/text/language (imported by github.com/99designs/gqlgen/codegen); to add:
        go get github.com/99designs/gqlgen/[email protected]
..\..\..\..\..\go\pkg\mod\github.com\99designs\[email protected]\internal\imports\prune.go:15:2: missing go.sum entry for module providing package golang.org/x/tools/go/ast/astutil (imported by github.com/99designs/gqlgen/internal/imports); to add:
        go get github.com/99designs/gqlgen/internal/[email protected]
..\..\..\..\..\go\pkg\mod\github.com\99designs\[email protected]\internal\code\packages.go:14:2: missing go.sum entry for module providing package golang.org/x/tools/go/packages (imported by github.com/99designs/gqlgen/codegen/config); to add:
        go get github.com/99designs/gqlgen/codegen/[email protected]
..\..\..\..\..\go\pkg\mod\github.com\99designs\[email protected]\internal\imports\prune.go:16:2: missing go.sum entry for module providing package golang.org/x/tools/imports (imported by github.com/99designs/gqlgen/internal/imports); to add:
        go get github.com/99designs/gqlgen/internal/[email protected]

0 Answers0