aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/ettle/strcase/caser.go
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-03-04 17:40:11 +0000
committerTaras Madan <tarasmadan@google.com>2024-03-04 18:34:55 +0000
commit5fc5366972c874b919f93165bb4ed4e2bcb7c350 (patch)
tree287c3361a0dee0c72af80d9a1a66714a06e98a62 /vendor/github.com/ettle/strcase/caser.go
parent1be5ce38a9059c356eb193a8c34d60d61c9fc31f (diff)
mod: bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.2
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.55.2 to 1.56.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](https://github.com/golangci/golangci-lint/compare/v1.55.2...v1.56.2) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/ettle/strcase/caser.go')
-rw-r--r--vendor/github.com/ettle/strcase/caser.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/vendor/github.com/ettle/strcase/caser.go b/vendor/github.com/ettle/strcase/caser.go
index 891a67189..2e7eb955b 100644
--- a/vendor/github.com/ettle/strcase/caser.go
+++ b/vendor/github.com/ettle/strcase/caser.go
@@ -10,17 +10,17 @@ type Caser struct {
//
// A Caser should be created when you want fine grained control over how the words are split.
//
-// Notes on function arguments
+// Notes on function arguments
//
-// goInitialisms: Whether to use Golint's intialisms
+// goInitialisms: Whether to use Golint's intialisms
//
-// initialismOverrides: A mapping of extra initialisms
-// Keys must be in ALL CAPS. Merged with Golint's if goInitialisms is set.
-// Setting a key to false will override Golint's.
+// initialismOverrides: A mapping of extra initialisms
+// Keys must be in ALL CAPS. Merged with Golint's if goInitialisms is set.
+// Setting a key to false will override Golint's.
//
-// splitFn: How to separate words
-// Override the default split function. Consider using NewSplitFn to
-// configure one instead of writing your own.
+// splitFn: How to separate words
+// Override the default split function. Consider using NewSplitFn to
+// configure one instead of writing your own.
func NewCaser(goInitialisms bool, initialismOverrides map[string]bool, splitFn SplitFn) *Caser {
c := &Caser{
initialisms: golintInitialisms,