Package mstdn provides tools for working with the Mastodon API, which is becoming the (defacto) stand client-server API for the Fediverse. Note that the Mastodon API is not (yet) officially part of ActivityPub.
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-mstdn
To import package mstdn use import
code like the follownig:
import "github.com/reiver/go-mstdn"
To import the Mastodon API entities use import
code like the following:
import "github.com/reiver/go-mstdn/ent"
To import the Mastodon API entities for administrators use import
code like the following:
import "github.com/reiver/go-mstdn/ent/admn"
To install package mstdn do the following:
GOPROXY=direct go get https://github.com/reiver/go-mstdn
Package mstdn was written by Charles Iliya Krempeaux