This project is the source for http://godoc.org/
golang url shortener
go get github.com/zhuharev/s/...
srv, e := shortener.New("cnf")
if e != nil {
panic(e)
}
http.Handle("/s/", srv)
e = http.ListenAndServe(":8089", nil)
if e != nil {
panic(e)
}
- add lookup urls