summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-02-22 17:10:45 -0500
committerEthan Koenig <ethantkoenig@gmail.com>2017-02-22 17:10:45 -0500
commitec3a696e2de605f794b36da58db30c849ac56904 (patch)
tree547a20ce403e4a7f17578efa5c344840c85f0a40 /models/repo.go
parent1f7837d6d62471d72e2b2c15f8ed07cd0a43fda9 (diff)
downloadgitea-ec3a696e2de605f794b36da58db30c849ac56904.tar.gz
gitea-ec3a696e2de605f794b36da58db30c849ac56904.zip
Fix lint errors
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 218f15afe5..af8f688339 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -1800,7 +1800,7 @@ type SearchRepoOptions struct {
func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, _ int64, _ error) {
var (
sess *xorm.Session
- cond builder.Cond = builder.NewCond()
+ cond = builder.NewCond()
)
if len(opts.Keyword) == 0 {