Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
Capitalize returns the input string s with the first character converted to uppercase. If s is empty, it returns s unchanged.
func NormalizeStructFieldName ¶
NormalizeStructFieldName normalizes struct field names by replacing generic brackets and dots with underscores (_).
func ShouldToLower ¶
ShouldToLower returns the lowercase version of the input string s if shouldConvert is true. Otherwise, it returns s unchanged.
func Uncapitalize ¶
Uncapitalize returns the input string s with the first character converted to lowercase. If s is empty, it returns s unchanged.
Types ¶
This section is empty.