(res http.ResponseWriter)
| 218 | } |
| 219 | |
| 220 | func InternalServerError(res http.ResponseWriter) { |
| 221 | res.Header().Set("Content-Type", "application/json") |
| 222 | res.WriteHeader(http.StatusInternalServerError) |
| 223 | } |
| 224 | |
| 225 | func BadRequest(res http.ResponseWriter) { |
| 226 | res.Header().Set("Content-Type", "application/json") |
no test coverage detected