示例#1
0
文件: action.go 项目: sillydong/gogs
func (a *Action) ShortRepoName() string {
	return base.EllipsisString(a.RepoName, 33)
}
示例#2
0
文件: action.go 项目: sillydong/gogs
func (a *Action) ShortRepoUserName() string {
	return base.EllipsisString(a.RepoUserName, 20)
}