Go first install steps
- gvm install go1.8 -B
- gvm use go1.8 --default
- export GOROOT_BOOTSTRAP=$GOROOT
- gvm install go1.13 (whatever version after 1.8 you want to install, in my case i want to use 1.13)
? May disregard above Alt fix may have been problem specifically with gvm 1.15.6 ... no built in stdlib packages found... but 1.15 and previous versions work...
GG deprecation and incompatibility of minor versions Seemed to "just work" on Windows straight install without worrying about gvm.
go get -u github.com/spf13/cobra/cobra
https://sbstjn.com/blog/create-golang-cli-application-with-cobra-and-goxc/
e.g.
$GOPATH/bin/goxc \
-bc="darwin,amd64" \
-pv=0.0.1 \
-d=build \
-build-ldflags "-X main.VERSION=0.0.1"
Set up makefile
make build
make install
Should probably build build artefacts using gh-actions rather than in source repo for release