Skip to content

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

Open
@JwCodeX

Description

@JwCodeX

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions