The root of the package could have the main.go. This basically only impacts how termshot is installed from source:
go install github.com/homeport/termshot@latest <-- currently doesn't work
Currently you have to add a /... or a /cmd/termshot to the go install line:
go install github.com/homeport/termshot/cmd/termshot@latest
You could just move main.go to the root and get rid of /cmd altogether.
The root of the package could have the main.go. This basically only impacts how termshot is installed from source:
Currently you have to add a
/...or a/cmd/termshotto the go install line:You could just move
main.goto the root and get rid of /cmd altogether.