Go SDK

Official Go SDK for using the Moov API

Installation

1
2
3
import (
	"github.com/moovfinancial/moov-go/pkg/moov"
)

This SDK requires an API key. To generate an API login to the Moov Dashboard and follow the following instructions on API Keys. If you have not done so already, use the Moov Dashboard to create an account.

1
2
export MOOV_PUBLIC_KEY="public key here"
export MOOV_SECRET_KEY="secret key here"

In your Go program, create a new Moov client initiated with your public and secret keys.

1
2
3
mc, err := moov.NewClient(
  moov.WithCredentials(moov.CredentialsFromEnv()), // optional, default is to read from environment
)