Skip to content

Commit

Permalink
Removed structuredlogging temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewl committed Nov 3, 2023
1 parent 30c1fae commit ba4ca0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down
1 change: 0 additions & 1 deletion uk-rail-schedule-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit ba4ca0c

Please sign in to comment.