Skip to content

Commit d979108

Browse files
Go fmt
Signed-off-by: Lukasz Gryglicki <[email protected]> Generated with [OpenAI](https://platform.openai.com/) Assisted by [OpenAI](https://platform.openai.com/)
1 parent 0ab0695 commit d979108

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

cla-backend-go/cmd/server.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,12 @@ type combinedRepo struct {
146146

147147
// in cmd/server.go (top-level imports already use logrus)
148148
func apiPathLogger(next http.Handler) http.Handler {
149-
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
150-
log.Infof("LG:api-request-path:%s", r.URL.Path)
151-
next.ServeHTTP(w, r)
152-
})
149+
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
150+
log.Infof("LG:api-request-path:%s", r.URL.Path)
151+
next.ServeHTTP(w, r)
152+
})
153153
}
154154

155-
156155
// server function called by environment specific server functions
157156
func server(localMode bool) http.Handler {
158157
f := logrus.Fields{

0 commit comments

Comments
 (0)