1
0
Fork 0
forked from forgejo/forgejo

Make repo size style matches others (commits/branches/tags) (#24408)

The "unit" part shouldn't have bold style.
This commit is contained in:
wxiaoguang 2023-04-29 05:23:19 +08:00 committed by GitHub
parent bc784a705b
commit bc4e06109d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 1 deletions

View file

@ -18,3 +18,7 @@ func (su *StringUtils) HasPrefix(s, prefix string) bool {
func (su *StringUtils) Contains(s, substr string) bool {
return strings.Contains(s, substr)
}
func (su *StringUtils) Split(s, sep string) []string {
return strings.Split(s, sep)
}