Documentation
¶
Overview ¶
Package naming provides text naming utilities.
Index ¶
- func Align(s string, maxN int) string
- func Concat(a, b string, maxN int) string
- func IsASCIILetter(c byte) bool
- func IsASCIILower(c byte) bool
- func IsASCIIUpper(c byte) bool
- func NormalizeIdentifier(s string) string
- func Singular(s string) string
- func SplitCommentLines(s string) []string
- func StructToReceiver(s string) string
- func TableToAlias(s string) string
- func TableToStruct(s string) string
- func ToASCIILower(c byte) byte
- func ToASCIIUpper(c byte) byte
- func ToCamelCase(s string) string
- func ToSnakeCase(s string) string
- type Naming
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsASCIILetter ¶
func IsASCIILower ¶
func IsASCIIUpper ¶
func NormalizeIdentifier ¶
func SplitCommentLines ¶
func StructToReceiver ¶
func TableToAlias ¶
func TableToStruct ¶
func ToASCIILower ¶
func ToASCIIUpper ¶
func ToCamelCase ¶
func ToSnakeCase ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.