(w http.ResponseWriter, status int, msg string)
| 279 | } |
| 280 | |
| 281 | func writeError(w http.ResponseWriter, status int, msg string) { |
| 282 | writeJSON(w, status, map[string]string{"error": msg}) |
| 283 | } |
| 284 | |
| 285 | // Thin wrappers around util functions. |
| 286 | // |
no test coverage detected