Go version of the Mastodon API
gondole is a Go library to access the Mastondon REST API.
Work in progress, still incomplete
Like many Go-based tools, installation is very easy
go get github.com/keltia/gondole
or
git clone https://github.com/keltia/gondole
go install ./cmd/...
The library is fetched, compiled and installed in whichever directory is specified by $GOPATH. The gondole-cli binary will also be installed.
The configuration is stored in the standard place: $HOME/.config/gondole. You can find a global configuration file named config.tomland a file for each instance you have connected with, named <instance>.toml.
When you connect gondole to a given instance you have never connected before, it will register the application, get the token and save it.
Trying to define a name close to Mastodon, one could come up with godon and in French, gondole (the small boats in Venice) is easy to take.