mirror of
https://github.com/gogs/gogs.git
synced 2026-02-28 01:00:57 +01:00
style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in cddfd5f according to the output
from Go fmt and Gofumpt.
Details: https://github.com/gogs/gogs/pull/8105
This commit is contained in:
committed by
GitHub
parent
cddfd5fbb9
commit
5469f017bc
@@ -52,7 +52,7 @@ func GetLabelTemplateFile(name string) ([][2]string, error) {
|
||||
// Label represents a label of repository for issues.
|
||||
type Label struct {
|
||||
ID int64
|
||||
RepoID int64 `gorm:"index"`
|
||||
RepoID int64 `gorm:"index"`
|
||||
Name string
|
||||
Color string `gorm:"type:varchar(7)"`
|
||||
NumIssues int
|
||||
|
||||
Reference in New Issue
Block a user