Пример #1
0
func (a *Action) ShortRepoUserName() string {
	return base.EllipsisString(a.RepoUserName, 20)
}
Пример #2
0
func (a *Action) ShortRepoName() string {
	return base.EllipsisString(a.RepoName, 33)
}
Пример #3
0
func (u *User) ShortName(length int) string {
	return base.EllipsisString(u.Name, length)
}