Skip to content
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

2.5 为接口做参数校验 这一章 出现了 imported from implicitly required module #23

Open
JwCodeX opened this issue Aug 3, 2021 · 1 comment

Comments

@JwCodeX
Copy link

JwCodeX commented Aug 3, 2021

win10系统
go 1.16
复制文章源码或当前目录下源码到系统报错

`go: blog-service/pkg/app: package github.com/go-playground/universal-translator imported from implicitly required module; to add missing requirements, run:
go get github.com/go-playground/[email protected]
go: blog-service/internal/middleware: package github.com/go-playground/locales/en imported from implicitly required module; to add missing requirements, run:
go get github.com/go-playground/locales/[email protected]
go: blog-service/internal/middleware: package github.com/go-playground/locales/zh imported from implicitly required module; to add missing requirements, run:
go get github.com/go-playground/locales/[email protected]
go: blog-service/internal/middleware: package github.com/go-playground/locales/zh_Hant_TW imported from implicitly required module; to add missing requirements, run:
go get github.com/go-playground/locales/[email protected]
go: blog-service/internal/middleware: package github.com/go-playground/universal-translator imported from implicitly required module; to add missing requirements, run:
go get github.com/go-playground/[email protected]

Compilation finished with exit code 1`
image

@JwCodeX
Copy link
Author

JwCodeX commented Aug 3, 2021

改成 go 1.14版本可以运行

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