4 ms·
4 ... of its 5 dependencies. It's just missing Viper. We should do a better job with the title here. See: - [0] https://github.com/muesli/coral/blob/master/go.
by bigdubs 5y ago
4 ... of its 5 dependencies. It's just missing Viper. We should do a better job with the title here.
See:
- [0] https://github.com/muesli/coral/blob/master/go.mod https://github.com/muesli/coral/blob/master/go.mod
- [1] https://github.com/spf13/cobra/blob/master/go.mod https://github.com/spf13/cobra/blob/master/go.mod
- lbhdc 5y agoThe dependency that was dropped has many dependencies that would get added to your project. https://github.com/spf13/viper/blob/master/go.mod https://github.com/spf13/viper/blob/master/go.mod
- jjnoakes 5y agoRight but that last one is the problem... https://github.com/muesli/coral/blob/master/go.sum https://github.com/muesli/coral/blob/master/go.sum https://github.com/spf13/cobra/blob/master/go.sum https://github.com/spf13/cobra/blob/master/go.sum
- racingmars 5y ago...but that fifth dependency makes all the difference! $ go mod init foo && go get github.com/spf13/cobra && wc -l go.sum 758 go.sum $ go mod init foo && go get github.com/muesli/coral && wc -l go.sum 10 go.sum (Number of lines in go.sum != number of transitive dependencies, of course, but the scale of the difference still hints at how much extra is being pulled into your project.)