A simple command line URL shortener using http://is.gd/.
go get github.com/NickPresta/GoURLShortener
Import this library in your code to use it. The package name is goisgd
.
import (
"github.com/NickPresta/GoURLShortener"
)
Shorten a URI:
uri, err := goisgd.Shorten("http://google.ca/")
See examples/main.go
for an example.
View the documentation on GoPkgDoc.
There are no tests.
See CHANGELOG.md
for details.
This is released under the
MIT license.
See LICENSE.md
for details.