Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
crufter
2021-11-11 12:07:21 +00:00
parent 7fa39b93c8
commit e80b68116a
8 changed files with 69 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
package example
import (
"fmt"
"os"
"github.com/micro/services/clients/go/db"
)
//
func ListTables() {
dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := dbService.ListTables(&db.ListTablesRequest{})
fmt.Println(rsp, err)
}