I have a small package (
https://github.com/chmike/clog) that also contains a command in the cmd subdirectory (clogClr).
How do I install the clog package and the command ?
When I execute "go install
github.com/chmike/clog@latest" I get the error message that it is not a main package. When I use go get that package is installed, but not the command (clogClr).
I understand that for security purpose installing a package should not automatically install an executable binary.
For now I do a git clone and a "go install ./...". It's fine for me, not for an end user. I assume there is a better way.