diff options
author | Bwko <bouwko@gmail.com> | 2016-11-28 17:58:59 +0100 |
---|---|---|
committer | Bwko <bouwko@gmail.com> | 2016-11-28 17:58:59 +0100 |
commit | a5aae1c145b0393012898f1e834b8854e8f98f9c (patch) | |
tree | cb2cd6f130c4663b0a1ab35493371bef79884405 /models/repo_collaboration.go | |
parent | 27d66855eb642b22852b557cbb8ffd7781d73d4e (diff) | |
download | gitea-a5aae1c145b0393012898f1e834b8854e8f98f9c.tar.gz gitea-a5aae1c145b0393012898f1e834b8854e8f98f9c.zip |
Lint models/repo_*
Diffstat (limited to 'models/repo_collaboration.go')
-rw-r--r-- | models/repo_collaboration.go | 1 |
1 files changed, 1 insertions, 0 deletions
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: |