{"modulePath":"github.com/cloudquery/plugin-sdk/v3","version":"v3.10.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package caser\n\n## Types\n\n```go\ntype Caser struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(opts ...Option) *Caser\n```\nNew creates a new instance of caser\n\n```go\nfunc (c *Caser) ToCamel(s string) string\n```\nToCamel returns a string converted from snake case to camel case\n\n```go\nfunc (c *Caser) ToPascal(s string) string\n```\nToPascal returns a string converted from snake case to pascal case\n\n```go\nfunc (c *Caser) ToSnake(s string) string\n```\nToSnake converts a given string to snake case\n\n```go\nfunc (c *Caser) ToTitle(s string) string\n```\nToTitle returns a string converted from snake case to title case. Title case is similar to camel case, but spaces are used in between words.\n\n```go\ntype Option func(*Caser)\n```\n\n```go\nfunc WithCustomExceptions(fields map[string]string) Option\n```\nWithCustomExceptions allows to specify custom exceptions for caser. The parameter is a map of snake:camel values like map\\[string]string{\"oauth\":\"OAuth\"}\n\n```go\nfunc WithCustomInitialisms(fields map[string]bool) Option\n```\nWithCustomInitialisms allows specifying custom initialisms for caser.\n\n","path":"github.com/cloudquery/plugin-sdk/v3/caser","name":"caser","synopsis":"","isRedistributable":true}
