+
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ linters:
- copyloopvar
- dogsled
- dupl
- errorlint
- forbidigo
- gocritic
- godot
Expand All @@ -25,6 +26,10 @@ linters:
- unparam
- whitespace
settings:
errorlint:
errorf: false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some errors should not be wrapped as they would expose underlying implementation details, so errorf is set to false here.

asserts: true
comparison: true
forbidigo:
forbid:
- pattern: ^reflect\.DeepEqual$
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载