We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ed34c9 commit 6be8d43Copy full SHA for 6be8d43
1 file changed
pkg/beholder/schema.go
@@ -15,7 +15,7 @@ import (
15
// Notice: we use the Unicode property 'Lu' (uppercase letter) to match
16
// the first letter of the word, and 'P{Lu}' (not uppercase letter) to match
17
// the rest of the word.
18
-var patternSnake = regexp.MustCompile("(\\p{Lu}+\\P{Lu}*)")
+var patternSnake = regexp.MustCompile(`(\\p{Lu}+\\P{Lu}*)`)
19
20
// toSnakeCase converts a CamelCase to snake_case (used for type -> file name mapping)
21
func toSnakeCase(s string) string {
0 commit comments