Documentation
¶
Index ¶
- func CamelToSnake(s string) string
- func ConvertToSnakeCase(s string) string
- func ConvertToUpperCamelCase(s string) string
- func Exec(name string, args ...string)
- func ExitAndCleanUp(path string, err error)
- func ExitWithError(err error)
- func GenerateAppKey() string
- func RetrieveModuleName() string
- func SnakeToCamel(s string) string
- type Discard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
func ConvertToSnakeCase ¶
func ConvertToUpperCamelCase ¶
func ExitAndCleanUp ¶
func ExitWithError ¶
func ExitWithError(err error)
func GenerateAppKey ¶
func GenerateAppKey() string
GenerateAppKey generates a random 32 byte key for AES-256 encryption
func RetrieveModuleName ¶
func RetrieveModuleName() string
RetrieveModuleName reads the go.mod file and returns the module name.
func SnakeToCamel ¶ added in v0.0.4
Types ¶
Click to show internal directories.
Click to hide internal directories.