Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-22 15:56:13 +00:00
parent 41076ed778
commit b386520a82
36 changed files with 1755 additions and 1707 deletions

View File

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/helloworld"
)
// Call returns a personalised "Hello $name" response
func main() {
helloworldService := helloworld.NewHelloworldService(os.Getenv("M3O_API_TOKEN"))
rsp, err := helloworldService.Call(&helloworld.CallRequest{
Name: "John",
})
fmt.Println(rsp, err)
}