truthlock package and a legacy pkg client. They are different interfaces; do not mix method names or request types from one with the other.
The root module path is:
go get github.com/truthlocks/sdk-go@v0.4.0. Older tags used an incompatible module path.
Client configuration
os, and context. Use a key matching the host. Tenant ID alone is not authentication; the server derives the workspace from the credential.
Minting
The root client acceptsMintRequest with IssuerID, KID, Alg, and PayloadB64URL. Encode original bytes with base64.RawURLEncoding.EncodeToString. Alternatively, set Schema and Claims and leave PayloadB64URL empty to use structured input. Do not combine the two input modes.
error; import encoding/base64 and fmt, and provide ctx. Use an issuer and signing key already provisioned for the environment.

