diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 925866c..4927f09 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' - name: Build run: go build -v ./... diff --git a/uk-rail-schedule-api.go b/uk-rail-schedule-api.go index 10a658e..9013fd7 100644 --- a/uk-rail-schedule-api.go +++ b/uk-rail-schedule-api.go @@ -364,7 +364,6 @@ func main() { // A good base middleware stack r.Use(middleware.RequestID) r.Use(middleware.RealIP) - r.Use(NewStructuredLogger(logger.Handler())) r.Use(middleware.Recoverer) r.Use(render.SetContentType(render.ContentTypeJSON))