Go SDK provides methods to call LicenseSpring APIs directly from Go.
The SDK is publicly available and can be found here.
go get -u gitlab.com/l3178/sdk-go/...
If you want to install a specific version, see the list of versions here. You should preferably always use the latest one.