diff --git a/.golangci.yml b/.golangci.yml index c58b969..cebb833 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,7 +3,8 @@ linters-settings: excludes: - G115 # Annoying and have a lot of false-positive results. govet: - check-shadowing: true + enable: + - shadow gocyclo: min-complexity: 15 maligned: diff --git a/README.md b/README.md index da3d09f..c072d45 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ _, _ = out.Write(buf.Buf) // To do this, reset buf and all columns, append new values // to columns and call EncodeRawBlock again. buf.Reset() -colV.Reset() +colK.Reset() colV.Reset() ```