Skip to content

go get 失败 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zzhzero opened this issue Aug 25, 2021 · 0 comments
Open

go get 失败 #2

zzhzero opened this issue Aug 25, 2021 · 0 comments

Comments

@zzhzero
Copy link

zzhzero commented Aug 25, 2021

D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:126:22: undefined: "github.com/tal-tech/go-zero/tools/goct l/api/util".GetAnnotationValue
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:126:56: each.Annotations undefined (type spec.Route has no field or method Annotations)
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:131:13: undefined: "github.com/tal-tech/go-zero/tools/goct l/api/util".GetAnnotationValue
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:131:47: each.Annotations undefined (type spec.Route has no field or method Annotations)
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:140:45: cannot use each.RequestType.Name (type func() stri ng) as type string in argument to strings.ToLower
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:165:51: cannot use each.RequestType.Name (type func() stri ng) as type string in argument to "github.com/tal-tech/go-zero/tools/goctl/util/ stringx".From
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:166:52: cannot use each.ResponseType.Name (type func() str ing) as type string in argument to "github.com/tal-tech/go-zero/tools/goctl/util /stringx".From
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:167:25: invalid argument each.RequestType.Name (type func( ) string) for len
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:169:25: invalid argument each.ResponseType.Name (type func () string) for len
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\generate.go:18:2: imported and not used: "fmt"
D:\go\pkg\mod\github.com\zeromicro\goctl-php@v0.0.0-20201231061651-033bc29c89bd\ generate\converter.go:169:25: too many errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant