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"
)
// Delete a comment
func main() {
commentsService := comments.NewCommentsService(os.Getenv("M3O_API_TOKEN"))
rsp, err := commentsService.Delete(&comments.DeleteRequest{
Id: "63c0cdf8-2121-11ec-a881-0242e36f037a",
})
fmt.Println(rsp, err)
}