Skip to content

Golang library for the open-source link shortener Polr

License

Notifications You must be signed in to change notification settings

Seklfreak/polr-go

Repository files navigation

polr-go

Build Status Go Report Card

client, err = polr.New("https://demo.polr.me/api/", "api-key", nil)
if err != nil {
    panic(err)
}

shortUrl, err := client.Shorten("https://example.org", "", "")
if err != nil {
    panic(err)
}

fmt.Println("Short URL:", shortUrl)

About

Golang library for the open-source link shortener Polr

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages