Skip to content

Commit

Permalink
update golangci config
Browse files Browse the repository at this point in the history
  • Loading branch information
actatum committed Apr 14, 2024
1 parent 0626d8d commit 326d3e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ linters-settings:
errcheck:
check-type-assertions: true
govet:
check-shadowing: true
enable:
- shadow

issues:
exclude-use-default: false
Expand Down
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func (c ErrorCode) String() string {

// Error represents an RPC error.
type Error struct {
Code ErrorCode
Message string
Code ErrorCode
}

// Error allows for the Error type to conform to the built-in error interface.
Expand Down

0 comments on commit 326d3e8

Please sign in to comment.