Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatFilename ¶
func FormatFilename(filename string, style NamingStyle) string
Types ¶
type NamingStyle ¶
type NamingStyle = string
const ( NamingLower NamingStyle = "lower" NamingCamel NamingStyle = "camel" NamingSnake NamingStyle = "snake" )
func IsNamingValid ¶
func IsNamingValid(namingStyle string) (NamingStyle, bool)
IsNamingValid validates whether the namingStyle is valid or not,return namingStyle and true if it is valid, or else return empty string and false, and it is a valid value even namingStyle is empty string
Click to show internal directories.
Click to hide internal directories.