Categorygithub.com/operandinc/go-sdk
modulepackage
0.0.0-20230224231340-5eacf0a56a78
Repository: https://github.com/operandinc/go-sdk.git
Documentation: pkg.go.dev

# README

Operand Go SDK

The official Go SDK for the Operand API. Read our API documentation here: https://docs.operand.ai. If you have any questions or feedback, please feel free to reach out to us via email or join our Discord.

Installation

go get -u github.com/operandinc/go-sdk

Usage

client := operand.NewClient(os.Getenv("OPERAND_API_KEY"))
if _, err := client.CreateFile(
    context.Background(),
    "go.txt",
    nil,
    bytes.NewReader([]byte("Hello, World!")),
    nil,
); err != nil {
    // handle the error
}

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewClient creates a new client for the Operand API.

# Structs

Client is the client for the Operand API.