Using go-genai with googleapis.com

Go integration

✓ Official SDK
Install
go get github.com/googleapis/go-genai
Quick start
import "go-genai"

// Initialize client
client := go-genai.NewClient("YOUR_ACCESS_TOKEN")
Returns information about a repo.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sourcerepo.googleapis.com/v1/{name}
Returns all repos belonging to a project. The sizes of the repos are not set …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sourcerepo.googleapis.com/v1/{name}/repos
Returns the Cloud Source Repositories configuration of the project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://sourcerepo.googleapis.com/v1/{name}/config
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:sourcerepo
At a glance
Language Go
Endpoints11
Base URLhttps://sourcerepo.googleapis.com
✓ Official