Golang SDK
This page has all the information needed to install and setup the BLOOCK's SDK for Golang. If you are looking for documentation related to an specific functionality, please refer to it's specific section.
To run the SDK for Golang you will need:
- Go version >= 1.18
The Go SDK is available through the go get command, to install it, you can run the following command:
Go
go get github.com/bloock/bloock-sdk-go/v2
To start working with most of the functionalities of our SDKs, you will need an API Key. Please, follow the instructions of Create an API Key to get one.
Here's the code needed to properly configure the SDK Client with the API Key:
Golang
import (
"os"
"github.com/bloock/bloock-sdk-go/v2"
)
bloock.ApiKey = os.Getenv("API_KEY")
Last modified 3mo ago