Go SDK
Official TurraTech library for Go applications.
Installation
go get github.com/turratech/turratech-go
Quick Start
package main
import (
"github.com/turratech/turratech-go"
)
func main() {
client := turratech.New("sk_live_your_secret_key")
// Create a payment
payment, err := client.Payments.Create(&turratech.PaymentParams{
Amount: 2500,
Currency: "usd",
PaymentMethod: "pm_card_visa",
Description: "Order #1234",
})
}
Requirements
Go 1.18 or higher is required. The SDK is fully typed and supports generics.