fix: format HasSuffix function properly
All checks were successful
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 2m12s
Build and Release / Create Release (push) Successful in 1s
Build and Release / Unit Tests (push) Successful in 3m46s
Build and Release / Lint (push) Successful in 3m58s
Build and Release / Build Binaries (arm64, darwin) (push) Successful in 2m1s
Build and Release / Build Binaries (amd64, windows) (push) Successful in 2m8s
Build and Release / Build Binaries (amd64, darwin) (push) Successful in 2m11s
Build and Release / Build Binaries (amd64, linux) (push) Successful in 2m21s
Build and Release / Build Binaries (arm64, linux) (push) Successful in 2m35s

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
GitCaddy
2026-01-11 22:59:29 +00:00
parent 6f7e600645
commit 00d593260e

View File

@@ -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)