Tweak comments to satisfy golint
This commit is contained in:
parent
bf1f6f663a
commit
0a0063fa27
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ const (
|
|||
)
|
||||
|
||||
/*
|
||||
Middleware Logger writes each request and its response to the access log.
|
||||
Logger writes each request and its response to the access log.
|
||||
It gets some information from the logInfoResponseWriter set up by previous middleware.
|
||||
*/
|
||||
type Logger struct {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net/http"
|
||||
)
|
||||
|
||||
// Middleware saveBackend sends the backend name to the logger.
|
||||
// SaveBackend sends the backend name to the logger.
|
||||
type SaveBackend struct {
|
||||
next http.Handler
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue