Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checked linter warnings using: CGO_ENABLED=0 golangci-lint run --enable-all --disable testpackage,paralleltest,funlen,dupl,exhaustive,nakedret,noctx,nlreturn,gomnd,gochecknoglobals,gochecknoinits,interfacer,exhaustivestruct,wsl,lll,nestif,godox,gocyclo,gocognit,gomodguard,maligned,stylecheck,gosec,forbidigo,goconst,wrapcheck,staticcheck ./... - Got rid of dynamic errors (errors.New()) - Using errors.Is() / errors.As() to test errors - Added t.Helper() to test helpers - Fixed InMemoryCache (use pointer receiver, don't copy or locks break) - Simplified code in various places - Aligned closer to standards
- Loading branch information
Showing
60 changed files
with
667 additions
and
440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.