goanna/router.go
func UrlFor(name string, args ...string) *url.URL {
	r := Router.Get(name)
	if r == nil {
		log.Panicf("UrlFor: No such route '%s'\n", name)
	}
	u, err := r.URL(args...)
	if err != nil {
		log.Panicln("UrlFor: " + err.Error())
	}
	return u
}
func UrlFor(name string, args ...string) *url.URL {
	r := Router.Get(name)
	if r == nil {
		log.Panicf("UrlFor: No such route '%s'\n", name)
	}
	u, err := r.URL(args...)
	if err != nil {
		log.Panicln("UrlFor: " + err.Error())
	}
	return u
}
func UrlFor ( name string , args ... string ) * url . URL { r := Router . Get ( name ) if r == nil { log . Panicf ( " \n " , name ) } u , err := r . URL ( args ... ) if err != nil { log . Panicln ( " " + err . Error ( ) ) } return u }
// UrlFor returns the relative URL for the route name
UrlFor returns the relative URL for the route name