Skip to content

Fix linter issues (docs)#370

Merged
elithrar merged 1 commit intomasterfrom
elithrar/linter-fixes
May 1, 2018
Merged

Fix linter issues (docs)#370
elithrar merged 1 commit intomasterfrom
elithrar/linter-fixes

Conversation

@elithrar
Copy link
Contributor

@elithrar elithrar commented May 1, 2018

No description provided.

@elithrar elithrar self-assigned this May 1, 2018
@elithrar elithrar merged commit ded0c29 into master May 1, 2018
@elithrar elithrar deleted the elithrar/linter-fixes branch May 1, 2018 03:11
}

// SkipClean bypasses cleaning the path, which includes removing duplicate
// slashes and URL encoding.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's actually not what this function does. It reports whether the SkipClean option is enabled for this route.

@elithrar
Copy link
Contributor Author

elithrar commented May 1, 2018 via email

}

// MiddlewareFunc also implements the middleware interface.
// Middleware also implements the middleware interface.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it'd be a good idea to remove the word "also":

// Middleware implements the middleware interface.

When reading documentation for this method, it might be confusing. "Middleware also implements it? In addition to what?"

)

var (
// ErrMethodMismatch is returned when the error in the request does not match
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect "when the error in the request" should be "when the method in the request".

@elithrar
Copy link
Contributor Author

Fixes in #375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants