wgoodall01/wikipath

View on GitHub
web/error.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type HttpError should have comment or be unexported
Open

type HttpError struct {
Severity: Minor
Found in web/error.go by golint

type HttpError should be HTTPError
Open

type HttpError struct {
Severity: Minor
Found in web/error.go by golint

exported function NewHttpError should have comment or be unexported
Open

func NewHttpError(status int, message string) *HttpError {
Severity: Minor
Found in web/error.go by golint

func NewHttpError should be NewHTTPError
Open

func NewHttpError(status int, message string) *HttpError {
Severity: Minor
Found in web/error.go by golint

exported method HttpError.Send should have comment or be unexported
Open

func (he *HttpError) Send(w http.ResponseWriter) {
Severity: Minor
Found in web/error.go by golint

There are no issues that match your filters.

Category
Status