dbdot
dbdot copied to clipboard
cmd is poor binary name
When executing go get github.com/akarki15/dbdot/cmd, a binary named cmd is placed in GOBIN. A user would then have to rename the file to dbdot.
I suggest to move the main.go (and friends) into a subfolder cmd/dbdot. The go get would then change to go get github.com/akarki15/dbdot/cmd/dbdot and a binary with the right name will be created. This also allows for a future where more binaries are part of this project and adheres to the Go convention of having a folder for a binary inside cmd.
https://medium.com/@benbjohnson/structuring-applications-in-go-3b04be4ff091