(r *http.Request, v interface{})
| 60 | } |
| 61 | |
| 62 | func decodeJSON(r *http.Request, v interface{}) error { |
| 63 | return json.NewDecoder(r.Body).Decode(v) |
| 64 | } |
| 65 | |
| 66 | func parseIntQuery(r *http.Request, key string, def int) int { |
| 67 | s := r.URL.Query().Get(key) |
no outgoing calls
no test coverage detected