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.
|
It gets some information from the logInfoResponseWriter set up by previous middleware.
|
||||||
*/
|
*/
|
||||||
type Logger struct {
|
type Logger struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Middleware saveBackend sends the backend name to the logger.
|
// SaveBackend sends the backend name to the logger.
|
||||||
type SaveBackend struct {
|
type SaveBackend struct {
|
||||||
next http.Handler
|
next http.Handler
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue