Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 469 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 469 Bytes

go-adfly

Library to working with adf.ly on Golang

installation

go get github.com/Sagleft/go-adfly

usage example:

client := goadfly.NewClient(userID, apiKeyPublic)
shortLink, err := client.ShortenLink("https://example.com")
if err != nil {
    log.Fatalln(err)
}

log.Println(shortLink)

image