Move schema parsing to its own package
All checks were successful
CI / release-test (push) Successful in 4s

This commit is contained in:
2025-07-12 11:46:50 -07:00
parent e7ee10deb1
commit 378b86b7f1
4 changed files with 30 additions and 31 deletions

11
pkg/textutils/snake.go Normal file
View File

@@ -0,0 +1,11 @@
package textutils
import "strings"
func SnakeToCamel(s string) string {
parts := strings.Split(s, "_")
for i := range len(parts) {
parts[i] = strings.ToUpper(string(parts[i][0])) + parts[i][1:]
}
return strings.Join(parts, "")
}