mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-13 11:15:25 +00:00
18 lines
263 B
Go
Executable File
18 lines
263 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/app"
|
|
)
|
|
|
|
// Get the status of an app
|
|
func main() {
|
|
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := appService.Status(&app.StatusRequest{
|
|
Name: "helloworld",
|
|
})
|
|
fmt.Println(rsp, err)
|
|
}
|