Skip to content

Commit 9a9a0bc

Browse files
committed
fix lint
1 parent 7810e43 commit 9a9a0bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/dump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2014 The Gogs Authors. All rights reserved.
2-
// Copyright 2017 The Gitea Authors. All rights reserved.
2+
// Copyright 2016 The Gitea Authors. All rights reserved.
33
// Use of this source code is governed by a MIT-style
44
// license that can be found in the LICENSE file.
55

models/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ func restoreTableFixtures(bean interface{}, dirPath string) error {
431431
}
432432

433433
var columns = make([]string, 0, len(records[0]))
434-
for k, _ := range records[0] {
434+
for k := range records[0] {
435435
columns = append(columns, k)
436436
}
437437
sort.Strings(columns)

0 commit comments

Comments
 (0)