func RedirectResponse(path string, permanent bool) Response {
	status := http.StatusFound
	if permanent {
		status = http.StatusMovedPermanently
	}
	return Response{
		Status:      status,
		RedirectURL: path,
	}
}
// RedirectResponse returns a redirect response
RedirectResponse returns a redirect response
// RedirectResponse returns a redirect response
func RedirectResponse(path string, permanent bool) Response {
	status := http.StatusFound
	if permanent {
		status = http.StatusMovedPermanently
	}
	return Response{
		Status:      status,
		RedirectURL: path,
	}
}
func RedirectResponse ( path string , permanent bool ) Response { status := http . StatusFound if permanent { status = http . StatusMovedPermanently } return Response { Status : status , RedirectURL : path , } }
RedirectResponse returns a redirect response
RedirectResponse returns a redirect response