Hello I am new to go programming. When I import github.com/machinebox/graphql in a go file, then run go mod tidy, the following stuff appears in console
github.com/my/project/server imports
github.com/machinebox/graphql imports
github.com/pkg/errors: module github.com/pkg/errors@latest found (v0.9.1), but does not contain package github.com/pkg/errors
It indicates that the dependency of pkg/errors is not satisfied. Go won't let me compile this file either, as same thing happens.
Hello I am new to go programming. When I import
github.com/machinebox/graphql
in a go file, then rungo mod tidy
, the following stuff appears in consoleIt indicates that the dependency of pkg/errors is not satisfied. Go won't let me compile this file either, as same thing happens.
I guess it requires explicitly import at graphql.go Line42.
Like this?
"github.com/pkg/errors@v0.9.1"