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

Per-package go.mod #160

Open
gnuletik opened this issue Nov 19, 2021 · 0 comments
Open

Per-package go.mod #160

gnuletik opened this issue Nov 19, 2021 · 0 comments

Comments

@gnuletik
Copy link

Hi !

Would it be possible to have one go.mod / go.sum for each package ?

I use the hmetrics package in my app. hmetrics doesn't need dependencies aside from the standard lib.
However, using hmetrics in my app comes with the cost of installing 50+ dependencies from heroku/x's go.mod.

This is heavy and raises useless security alerts (e.g. heroku/x depends on cobra@v1 which depends on viper@v1 which depends on dgrijalva/jwt-go@v3 which is deprecated and has CVE-2020-26160).

Thanks!

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