SDKs
Go
Official Go SDK for S2
Powered by the gRPC API.
- Source code
- The
s2/example_test.go
contains a variety of example use cases demonstrating how to use the SDK effectively.
- The
- API Reference
Getting started
-
Create a new Go project:
-
Add the
s2
dependency to your project: -
Generate an authentication token by logging onto the web console at s2.dev.
-
Make a request using SDK client.
Run the above program using
go run main.go
.