README ¶ Tagliatelle A linter that handle struct tags. Supported string casing: camel pascal kebab smake goCamel goPascal goKebab goSmake upper lower Examples // json and camel case type Foo struct { ID string `json:"ID"` // must be "id" UserID string `json:"UserID"`// must be "userId" Name string `json:"name"` Value string `json:"val,omitempty"`// must be "value" } Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package tagliatelle a linter that handle struct tags. Index ¶ func New(rules map[string]string) *analysis.Analyzer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(rules map[string]string) *analysis.Analyzer New creates an analyzer. Types ¶ This section is empty. Source Files ¶ View all Source files tagliatelle.go Directories ¶ Show internal Expand all Path Synopsis cmd tagliatelle command Click to show internal directories. Click to hide internal directories.