Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-09 11:26:07 +00:00
parent f3960b5942
commit c85190845b
28 changed files with 1236 additions and 855 deletions

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/space"
)
// Delete an object
func main() {
spaceService := space.NewSpaceService(os.Getenv("M3O_API_TOKEN"))
rsp, err := spaceService.Delete(&space.DeleteRequest{
Name: "images/file.jpg",
})
fmt.Println(rsp, err)
}