Discover Packages
github.com/ldez/tagliatelle
package
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 11, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
README
README
¶
Tagliatelle
A linter that handles 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
¶
Package tagliatelle a linter that handle struct tags.
Config the tagliatelle configuration.
Source Files
¶
Directories
¶
cmd
Click to show internal directories.
Click to hide internal directories.