Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-03-01 15:48:51 +00:00
parent 818f632239
commit 2485a8b887
29 changed files with 1605 additions and 1547 deletions

View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os"
"go.m3o.com/function"
)
// Return a list of supported runtimes
func main() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Runtimes(&function.RuntimesRequest{})
fmt.Println(rsp, err)
}