Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstLetter ¶
FirstLetter returns the first letter of the string in lowercase (e.g. "UserAccount" -> "u")
func GetDirectoryOfCurrentFile ¶
func GetDirectoryOfCurrentFile() string
GetDirectoryOfCurrentFile returns the directory of the current file
func IsSnakeCase ¶ added in v0.1.65
func SnakeToCamel ¶
SnakeToCamel converts a snake_case string to camelCase (e.g. "user_account" -> "userAccount")
func SnakeToFlat ¶
SnakeToFlat converts a snake_case string to flat case (e.g. "user_account" -> "UserAccount")
func SnakeToKebab ¶
SnakeToKebab converts a snake_case string to kebab-case (e.g. "user_account" -> "user-account")
func SnakeToPascal ¶
SnakeToPascal converts a snake_case string to PascalCase (e.g. "user_account" -> "UserAccount")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.