goctl-php icon indicating copy to clipboard operation
goctl-php copied to clipboard

go get 失败

Open zzhzero opened this issue 4 years ago • 0 comments

D:\go\pkg\mod\github.com\zeromicro\[email protected]\ 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\[email protected]\ generate\converter.go:126:56: each.Annotations undefined (type spec.Route has no field or method Annotations) D:\go\pkg\mod\github.com\zeromicro\[email protected]\ 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\[email protected]\ generate\converter.go:131:47: each.Annotations undefined (type spec.Route has no field or method Annotations) D:\go\pkg\mod\github.com\zeromicro\[email protected]\ 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\[email protected]\ 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\[email protected]\ 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\[email protected]\ generate\converter.go:167:25: invalid argument each.RequestType.Name (type func( ) string) for len D:\go\pkg\mod\github.com\zeromicro\[email protected]\ generate\converter.go:169:25: invalid argument each.ResponseType.Name (type func () string) for len D:\go\pkg\mod\github.com\zeromicro\[email protected]\ generate\generate.go:18:2: imported and not used: "fmt" D:\go\pkg\mod\github.com\zeromicro\[email protected]\ generate\converter.go:169:25: too many errors

zzhzero avatar Aug 25 '21 09:08 zzhzero