diff --git a/modules/templates/util_string.go b/modules/templates/util_string.go index c7605cd651..c69c222bc0 100644 --- a/modules/templates/util_string.go +++ b/modules/templates/util_string.go @@ -35,7 +35,7 @@ func (su *StringUtils) ToString(v any) string { func (su *StringUtils) HasPrefix(s, prefix string) bool { return strings.HasPrefix(s, prefix) } -func (su *StringUtils) HasSuffix(s, suffix string) bool { return strings.HasSuffix(s, suffix)} +func (su *StringUtils) HasSuffix(s, suffix string) bool { return strings.HasSuffix(s, suffix) } func (su *StringUtils) Contains(s, substr string) bool { return strings.Contains(s, substr)