We now support Go. The SDK gives you typed access to repositories, commits, and server‑side workflows with a Go‑native API. See the full Go SDK documentation at https://code.storage/docs/reference/sdk.
go get github.com/pierrecomputer/sdk/packages/code-storage-go@latestclient, err := storage.NewClient(storage.Options{
Name: "your-org",
Key: os.Getenv("PIERRE_PRIVATE_KEY"),
})
repo, err := client.CreateRepo(context.Background(), storage.CreateRepoOptions{
ID: "new-workspace",
})
fmt.Println(repo.ID)