Lint/issue &mail (#243)

* Lint models/release.go

* Lint models/ issue_label, issue_mail & mail.go
This commit is contained in:
Bwko 2016-11-25 09:11:12 +01:00 committed by Lunny Xiao
parent 081c2a9395
commit c0ca6644ad
4 changed files with 35 additions and 27 deletions

View file

@ -14,7 +14,7 @@ import (
"code.gitea.io/gitea/modules/setting"
)
func (issue *Issue) MailSubject() string {
func (issue *Issue) mailSubject() string {
return fmt.Sprintf("[%s] %s (#%d)", issue.Repo.Name, issue.Title, issue.Index)
}