Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNamingFormat = errors.New("unsupported format")
ErrNamingFormat defines an error for unknown format
Functions ¶
func FileNamingFormat ¶
FileNamingFormat is used to format the file name. You can define the format style through the go and zero formatting characters. For example, you can define the snake format as go_zero, and the camel case format as goZero. You can even specify the split character, such as go#Zero, theoretically any combination can be used, but the prerequisite must meet the naming conventions of each operating system file name. Note: Formatting is based on snake or camel string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.