Question in short: Can I have a command that is part of a go programming library to be installed as part of go-getting the main package?
Background: I have a library (scipipe) which is supposed to be consumed as a programming library. Then I have a command “scipipe”, with some helper functionality to work with scipipe code, which I would like to get installed into
$GOPATH/bin/ when go-getting the main package, that is, doing
go get github.com/scipipe/scipipe. It is currently located under
cmd/scipipe/ in the main repo but that could be changed if needed.
Is this possible, with or without workarounds?