package httpx import ( "net/http" ) func SeeOther(w http.ResponseWriter, location string) { w.Header().Add("Location", location) w.WriteHeader(http.StatusSeeOther) }