Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 868 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 868 Bytes

Overview

Regions Lister is a sample project that uses the Management API Golang client.

Requirements

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"

Running

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

Resources