Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-11 20:27:08 +00:00
parent a411a0357f
commit f3af48b74a
19 changed files with 987 additions and 987 deletions

View File

@@ -7,7 +7,7 @@ import (
"go.m3o.com/url"
)
// Shortens a destination URL and returns a full short URL.
// Shorten a long URL
func main() {
urlService := url.NewUrlService(os.Getenv("M3O_API_TOKEN"))
rsp, err := urlService.Shorten(&url.ShortenRequest{})