From a5aae1c145b0393012898f1e834b8854e8f98f9c Mon Sep 17 00:00:00 2001 From: Bwko Date: Mon, 28 Nov 2016 17:58:59 +0100 Subject: Lint models/repo_* --- models/repo_collaboration.go | 1 + 1 file changed, 1 insertion(+) (limited to 'models/repo_collaboration.go') diff --git a/models/repo_collaboration.go b/models/repo_collaboration.go index e5be729895..0561ad86be 100644 --- a/models/repo_collaboration.go +++ b/models/repo_collaboration.go @@ -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: -- cgit v1.2.3