Skip to content

Commit

Permalink
chore(lint): upgrade to v1.52.2
Browse files Browse the repository at this point in the history
  • Loading branch information
savsgio committed May 6, 2023
1 parent 33c8cb5 commit 07432e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
version: v1.49.0
version: v1.52.2
2 changes: 1 addition & 1 deletion requestid.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Config struct{}
// Header value: uuid4()
//
// It's recomemded to add this middleware at first and before the view execution.
func New(cfg Config) atreugo.Middleware {
func New(_ Config) atreugo.Middleware {
return func(ctx *atreugo.RequestCtx) error {
if ctx.Request.Header.Peek(atreugo.XRequestIDHeader) == nil {
ctx.Request.Header.Set(atreugo.XRequestIDHeader, uuid.V4())
Expand Down

0 comments on commit 07432e9

Please # to comment.