chore: bump go + golangci-lint

This commit is contained in:
Alec Thomas
2024-08-20 08:16:24 +10:00
parent 6292953645
commit 2ad9498bdf
11 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -63,6 +63,6 @@ func JSON(r io.Reader) (Resolver, error) {
}
func snakeCase(name string) string {
name = strings.Join(strings.Split(strings.Title(name), "-"), "") //nolint: staticcheck
name = strings.Join(strings.Split(strings.Title(name), "-"), "")
return strings.ToLower(name[:1]) + name[1:]
}