3 ms·
And i would actually rename cmd/digger/main.go to cmd/digger/digger.go (_test.go too) Why? If you go build cmd/digger/main.go you end up with main, if renamed
by is_taken 4y ago
And i would actually rename cmd/digger/main.go to cmd/digger/digger.go (_test.go too)
Why? If you go build cmd/digger/main.go you end up with main, if renamed you end up with digger. Without using additional -o flags.
Also consider https://goreleaser.com/intro/ https://goreleaser.com/intro/