func Redirect(w http.ResponseWriter, r *http.Request, url string, code int) {

	// Set status code value on request details so other middlewares can access it
	if d := getDetails(r); d != nil {
		d.StatusCode = code
	}

	// Use default http.Redirect function
	http.Redirect(w, r, url, code)
}
// Redirect replies to the request with a redirect to url.
// The provided code should be in the 3xx range and is usually
// http.StatusMovedPermanently, http.StatusFound or http.StatusSeeOther.
Redirect replies to the request with a redirect to url.
The provided code should be in the 3xx range and is usually
http.StatusMovedPermanently, http.StatusFound or http.StatusSeeOther.
// Redirect replies to the request with a redirect to url . // The provided code should be in the 3xx range and is usually // http . StatusMovedPermanently http . StatusFound or http . StatusSeeOther .
func Redirect(w http.ResponseWriter, r *http.Request, url string, code int) {
	if d := getDetails(r); d != nil {
		d.StatusCode = code
	}
	http.Redirect(w, r, url, code)
}
func Redirect ( w http . ResponseWriter , r * http . Request , url string , code int ) { if d := getDetails ( r ) ; d != nil { d . StatusCode = code } http . Redirect ( w , r , url , code ) }
Redirect replies to the request with a redirect to url.
Redirect replies to the request with a redirect to url .
// Set status code value on request details so other middlewares can access it // Use default http.Redirect function