Regions Lister is a sample project that uses the Management API Golang client.
The only requirement is a SingleStore API key. To get an API key follow this doc page. Once it's done export it.
export API_KEY="my-key"
The following command runs the project.
go run main.go
Also, you may run it using docker.
docker run -v $(pwd):/tmp/regions-lister --workdir /tmp/regions-lister -e API_KEY=${API_KEY} golang:1.17 go run main.go