Install the Signplus Go SDK package

go get github.com/alohiq/signplus-go

Call your first SDK method

import (
  "fmt"
  "encoding/json"
  "github.com/alohihq/signplus-go/pkg/signplusconfig"
  "github.com/alohihq/signplus-go/pkg/signplus"
)

config := signplusconfig.NewConfig()
client := signplus.NewSignplus(config)
// Set your access token here (make sure to keep it secret)
	client.SetAccessToken("YOUR_ACCESS_TOKEN")

envelopeFlowType := signplus.ENVELOPE_FLOW_TYPE_REQUEST_SIGNATURE

envelopeLegalityLevel := signplus.ENVELOPE_LEGALITY_LEVEL_SES

request := signplus.CreateEnvelopeRequest{}
request.SetName("Name")
request.SetFlowType(envelopeFlowType)
request.SetLegalityLevel(envelopeLegalityLevel)

response, err := client.Signplus.CreateEnvelope(context.Background(), request)
if err != nil {
  panic(err)
}

fmt.Print(response)

SDK Reference

Check out the SDK reference to see all the available methods and options