toyohime/example_test.go
kare.nuorteva 55652d606f Rename Example
git-svn-id: file:///srv/svn/repo/toyohime/trunk@68 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:02:18 +00:00

10 lines
131 B
Go

package vanity
import (
"net/http"
)
func ExampleRedirect() {
http.Handle("/", Redirect("git", "kkn.fi", "github.com/kare"))
}