This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request
#1017
from ethantkoenig/fix_lint
Fix lint errors
tags/v1.2.0-rc1
Andrey Nering
GitHub
8 years ago
parent
d4c55c54b2
7455adbbd8
commit
0f19cf7656
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/helper.go
+1
-1
models/repo.go
+ 1
- 1
models/helper.go
View File
@@ -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
+ 1
- 1
models/repo.go
View File
@@ -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 {
Write
Preview
Loading…
Cancel
Save