diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-02-22 17:10:45 -0500 |
---|---|---|
committer | Ethan Koenig <ethantkoenig@gmail.com> | 2017-02-22 17:10:45 -0500 |
commit | ec3a696e2de605f794b36da58db30c849ac56904 (patch) | |
tree | 547a20ce403e4a7f17578efa5c344840c85f0a40 /models/helper.go | |
parent | 1f7837d6d62471d72e2b2c15f8ed07cd0a43fda9 (diff) | |
download | gitea-ec3a696e2de605f794b36da58db30c849ac56904.tar.gz gitea-ec3a696e2de605f794b36da58db30c849ac56904.zip |
Fix lint errors
Diffstat (limited to 'models/helper.go')
-rw-r--r-- | models/helper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/helper.go b/models/helper.go index 93acadc989..6e8580524a 100644 --- a/models/helper.go +++ b/models/helper.go @@ -6,7 +6,7 @@ package models func keysInt64(m map[int64]struct{}) []int64 { var keys = make([]int64, 0, len(m)) - for k, _ := range m { + for k := range m { keys = append(keys, k) } return keys |