Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-16 13:39:57 +00:00
parent 0f8436ce86
commit 00d34547f3
20 changed files with 854 additions and 796 deletions

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/db"
)
// Drop a table in the DB
func main() {
dbService := db.NewDbService(os.Getenv("M3O_API_TOKEN"))
rsp, err := dbService.DropTable(&db.DropTableRequest{
Table: "users",
})
fmt.Println(rsp, err)
}