I wrote a Go library for TotalSpaces2 and it’s been working out pretty well for me.
The only catch is that it relies on the path of the totalspaces2api.dylib
being $GOPATH/src/github.com/binaryage/totalspaces2-api/go/totalspaces2
, so it won’t work out of the box until it’s merged. If you want to try it out, there are instructions in the pull request for how to get it working manually.