Skip to content

Commit

Permalink
refactor: remove logging middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
noobj committed Jan 23, 2023
1 parent fd76f7b commit f31367a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
3 changes: 1 addition & 2 deletions cmd/swimming/dailyfetch/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"time"

middleware "github.com/noobj/go-serverless-services/internal/middleware/logging"
"github.com/noobj/go-serverless-services/internal/repositories"
EntryRepository "github.com/noobj/go-serverless-services/internal/repositories/swim/entry"
"go.mongodb.org/mongo-driver/bson"
Expand Down Expand Up @@ -104,5 +103,5 @@ func main() {
})
defer entryRepo.Disconnect()()

lambda.Start(middleware.Logging(Handler))
lambda.Start(Handler)
}
18 changes: 0 additions & 18 deletions internal/middleware/logging/logging_middleware.go

This file was deleted.

0 comments on commit f31367a

Please sign in to comment.