Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-20 12:36:15 +00:00
parent 2f40c45092
commit facb2a9289
32 changed files with 1886 additions and 1414 deletions

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/comments"
)
// Create a new comment
func main() {
commentsService := comments.NewCommentsService(os.Getenv("M3O_API_TOKEN"))
rsp, err := commentsService.Create(&comments.CreateRequest{
Text: "This is my comment",
})
fmt.Println(rsp, err)
}