Unofficial Go wrapper for TiDB Cloud OpenAPI v1beta
Most generated code are from offical OpenAPI specification(Swagger 2.0, JSON): https://download.pingcap.org/tidbcloud-oas.json
Codegen:
swagger generate client -f ./tidbcloud-oas.json -A go-tidbcloud
- Register TiDB Cloud (free & easy): https://tidb.cloud
- Create an API Key, follow the document here: https://docs.pingcap.com/tidbcloud/api/v1beta#section/Get-Started
- See example/main.go for more detail usage
Enjoy it! 😉
- Python SDK: tidbcloudy by @Oreoxmt
- Official code samples in Go and Python: tidbcloud-api-samples