Documentation
¶
Index ¶
Constants ¶
View Source
const ( SnakeCase = "snake" KebabCase = "kebab" CamelCase = "camel" PascalCase = "pascal" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { CapitalizedMessage bool // Enforce capitalized message. ReplaceAny bool // Enforce replacing zap.Any with the appropriate type. KeyNamingConvention string // Enforce a single key naming convention ("snake", "kebab", "camel", or "pascal"). ExcludeFiles []string // Exclude files matching the given patterns. }
Options are options for the zaplint analyzer.
Click to show internal directories.
Click to hide internal directories.