Files
m3o-go/examples/app/list/listTheApps/main.go
2021-12-15 11:22:20 +00:00

16 lines
228 B
Go
Executable File

package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// List all the apps
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.List(&app.ListRequest{})
fmt.Println(rsp, err)
}