func urlPrefix(baseURL string) string {
	parsed, err := url.Parse(baseURL)
	if err != nil {
		panic(err)
	}
	return strings.TrimSuffix(parsed.Path, "/")
}
// urlPrefix returns the URL prefix for routing purposes.
urlPrefix returns the URL prefix for routing purposes.
// urlPrefix returns the URL prefix for routing purposes .
func urlPrefix(baseURL string) string {
	parsed, err := url.Parse(baseURL)
	if err != nil {
		panic(err)
	}
	return strings.TrimSuffix(parsed.Path, "/")
}
func urlPrefix ( baseURL string ) string { parsed , err := url . Parse ( baseURL ) if err != nil { panic ( err ) } return strings . TrimSuffix ( parsed . Path , " " ) }
urlPrefix returns the URL prefix for routing purposes.
urlPrefix returns the URL prefix for routing purposes .