// ServeNotFound send StatusNotFound to the client
ServeNotFound send StatusNotFound to the client
// ServeNotFound send StatusNotFound to the client
func ServeNotFound(w http.ResponseWriter, text interface{}) {
	w.WriteHeader(http.StatusNotFound)
	responseJSON := map[string]interface{}{
		"error": text,
	}
	ServeJSON(w, responseJSON)
}
func ServeNotFound ( w http . ResponseWriter , text interface { } ) { w . WriteHeader ( http . StatusNotFound ) responseJSON := map [ string ] interface { } { " " : text , } ServeJSON ( w , responseJSON ) }
ServeNotFound send StatusNotFound to the client
ServeNotFound send StatusNotFound to the client