Skip to content

Commit 6be8d43

Browse files
committed
Fixes quotes
1 parent 9ed34c9 commit 6be8d43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/beholder/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// Notice: we use the Unicode property 'Lu' (uppercase letter) to match
1616
// the first letter of the word, and 'P{Lu}' (not uppercase letter) to match
1717
// the rest of the word.
18-
var patternSnake = regexp.MustCompile("(\\p{Lu}+\\P{Lu}*)")
18+
var patternSnake = regexp.MustCompile(`(\\p{Lu}+\\P{Lu}*)`)
1919

2020
// toSnakeCase converts a CamelCase to snake_case (used for type -> file name mapping)
2121
func toSnakeCase(s string) string {

0 commit comments

Comments
 (0)