package web import "net/http" // BadRequest writes a 400 response with the given message. func BadRequest(w http.ResponseWriter, msg string) { http.Error(w, msg, http.StatusBadRequest) }