Hacker GitHub

← All repos

muesli/coral

View on GitHub ↗ ★ 429 Go

Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies

5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2022-02-03 · latest 2022-02-04

Mentions per year 5 mentions · busiest year 2022 (5)
20082026
  1. …$ 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…
  2. Right but that last one is the problem... https://github.com/muesli/coral/blob/master/go.sum https://github.com/spf13/cobra/blob/master/go.sum
  3. …existing projects, just let gofmt do the heavy lifting for you: gofmt -w -r '"github.com/spf13/cobra" -> "github.com/muesli/coral"' . gofmt -w -r '"github.com/spf13/cobra/doc" -> "github.com/muesli/coral/doc"' . gofmt -w -r 'cobra ->…
  4. …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 - [1] https://github.com/spf13/cobra/blob/master/go.mod
  5. ▲ 73
    Coral, a Cobra fork with nearly all its features, but only 4 dependencies
    story by gojiberries · 2022-02-03 · 16 comments