Skip to content

Commit

Permalink
fix: linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
savsgio committed May 5, 2023
1 parent 8f9f547 commit 5674fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func defaultErrorView(ctx *RequestCtx, err error, statusCode int) {
ctx.Error(err.Error(), statusCode)
}

func emptyView(ctx *RequestCtx) error {
func emptyView(_ *RequestCtx) error {
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func newPreforkServerMock(s *Atreugo, errListenAndServe error) *preforkServerMoc
}
}

func (s *preforkServerMock) ListenAndServe(addr string) error {
func (s *preforkServerMock) ListenAndServe(_ string) error {
if s.errListenAndServe != nil {
return s.errListenAndServe
}
Expand Down

0 comments on commit 5674fd6

Please sign in to comment.