The Go SDK contains packages for interacting with most aspects of the stellar ecosystem. In addition to generally useful, low-level packages such as
keypair (used for creating stellar-compliant public/secret key pairs), the Go SDK also contains code for the server applications and client tools written in go.
The most accurate and up-to-date reference information on the Go SDK is found within godoc. The godoc.org service automatically updates the documentation for the Go SDK everytime github is updated. The godoc for all of our packages can be found at (https://godoc.org/github.com/stellar/go).
The Go SDK contains packages for interacting with the various stellar services:
horizon provides client access to a horizon server, allowing you to load account information, stream payments, post transactions and more.
stellartoml provides the ability to resolve Stellar.toml files from the internet. You can read about Stellar.toml concepts here.
federation makes it easy to resolve a stellar addresses (e.g.
scott*stellar.org) into a stellar account ID suitable for use within a transaction.
Edit this doc in GitHub