我安装了 golang 并开始使用本教程:https ://www.howtographql.com/graphql-go/1-getting-started/
当我运行时:
go run github.com/99designs/gqlgen generate
我得到:
reloading module info
generating core failed: unable to load github.com/my-user/hackernews/graph/model - make sure you're using an import path to a package that exists
exit status 1
我的设置有什么问题?这是我的gopath
/Users/my-pc-user/go
蝴蝶刀刀
相关分类