use references when possible

This commit is contained in:
sentriz
2019-06-05 17:34:01 +01:00
parent 406b133713
commit 146f157782
11 changed files with 128 additions and 115 deletions

View File

@@ -8,14 +8,11 @@ issues:
exclude-rules:
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
- text: "weak cryptographic primitive"
linters:
- gosec
- path: model/model.go
- path: model/model\.go
linters:
- lll
- path: server/handler/