mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-18 05:05:14 +00:00
16 lines
238 B
Go
Executable File
16 lines
238 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/db"
|
|
)
|
|
|
|
// List tables in the DB
|
|
func main() {
|
|
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := dbService.ListTables(&db.ListTablesRequest{})
|
|
fmt.Println(rsp, err)
|
|
}
|