Skip to content

Commit

Permalink
Shuffle some code about
Browse files Browse the repository at this point in the history
Also fix cyclop, funlen, gochecknoglobals, gochecknoinits, gocognit &
gocyclo lint warnings.
  • Loading branch information
bodgit committed May 8, 2022
1 parent f3dc3d5 commit ebf10e3
Show file tree
Hide file tree
Showing 6 changed files with 868 additions and 843 deletions.
6 changes: 0 additions & 6 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
linters:
enable-all: true
disable:
- cyclop
- exhaustivestruct
- funlen
- gochecknoglobals
- gochecknoinits
- gocognit
- gocyclo
- goerr113
- gomnd
- godox
Expand Down
1 change: 1 addition & 0 deletions internal/deflate/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"sync"
)

//nolint:gochecknoglobals
var flateReaderPool sync.Pool

type readCloser struct {
Expand Down
Loading

0 comments on commit ebf10e3

Please sign in to comment.