space-cli
space-cli copied to clipboard
Go install is not working
Hi.
Trying to install this tool using go install github.com/deta/[email protected] gives an error:
github.com/deta/[email protected]: parsing go.mod:
module declares its path as: github.com/deta/space
but was required as: github.com/deta/space-cli
I think that using go to install is better than using space version upgrade as the former installs the binary in a common place, i.e. $GOPATH/bin instead of $HOME/.detaspace/bin which is not standard.
The solution is to change the package name to space-cli or the repository to space.
Thanks