Lint models/repo_*

This commit is contained in:
Bwko 2016-11-28 17:58:59 +01:00
parent 27d66855eb
commit a5aae1c145
2 changed files with 13 additions and 0 deletions

View file

@ -16,6 +16,7 @@ type Collaboration struct {
Mode AccessMode `xorm:"DEFAULT 2 NOT NULL"`
}
// ModeI18nKey returns the collaboration mode I18n Key
func (c *Collaboration) ModeI18nKey() string {
switch c.Mode {
case AccessModeRead: