Skip to content

[Help] indirect require package [github.com/go-playground/locales] too big #3165

@Laotree

Description

@Laotree

Description

I use gin as my web framework. everytime I packup my binary file, in a pure container, it always cost too much time to download locales package
since gin which less than 3M, requires locales indirectly, I repeatly download which more than 30M
could gin remove locales or replace it with a smaller requirement?

go mod why github.com/go-playground/locales                                                                                                                                                         
# github.com/go-playground/locales
github.com/gin-gonic/gin/binding
github.com/go-playground/validator/v10
github.com/go-playground/universal-translator
github.com/go-playground/locales

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