Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-11 12:09:26 +00:00
parent 9dcc428a55
commit be676eff6c
21 changed files with 849 additions and 758 deletions

View File

@@ -0,0 +1,19 @@
package main
import (
"fmt"
"os"
"go.m3o.com/db"
)
//
func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.RenameTable(&db.RenameTableRequest{
From: "events",
To: "events_backup",
})
fmt.Println(rsp, err)
}