lint: fix issues in examples (#49)

This commit is contained in:
Michael McLoughlin
2019-01-13 10:12:52 -08:00
parent 943d5f0ced
commit 4aa8656eb0
11 changed files with 22 additions and 12 deletions

View File

@@ -21,3 +21,5 @@ issues:
exclude:
# errcheck: Almost all programs ignore errors on these functions and in most cases it's ok
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked
# gocritic: unlambda with builtins is invalid.
- ' with `(len|cap|real|imag)`'