(err error)
| 10 | } |
| 11 | |
| 12 | func internalServerError(err error) *appError { |
| 13 | return &appError{ |
| 14 | Error: err, |
| 15 | Message: "Internal server error", |
| 16 | Code: http.StatusInternalServerError, |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | func notFound(err error) *appError { |
| 21 | return &appError{Error: err, Code: http.StatusNotFound} |
no outgoing calls
no test coverage detected