Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-16 19:51:32 +00:00
parent 873ba7f939
commit 75ba0d6c3a
30 changed files with 1134 additions and 964 deletions

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/function"
)
// Return the backend url for proxying
func main() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Proxy(&function.ProxyRequest{
Id: "helloworld",
})
fmt.Println(rsp, err)
}