Documentation
¶
Index ¶
- func CallCommand(cmd string) error
- func CopyDirectory(from string, to string) error
- func CopyFile(from string, to string) error
- func CreateDir(dir string)
- func GenColumn(c *sqlparser.ColumnDefinition) string
- func GetPWD() string
- func GoFmt(file string)
- func IsDirExists(dir string) bool
- func IsDirectory(p string) (bool, error)
- func IsFileExists(path string) bool
- func ParseSQLs(content string) ([]*sqlparser.DDL, error)
- func ReadFile(file string) (dataBytes []byte, err error)
- func RemoveDirectory(dir string) error
- func ToCamelFirstLower(str string) string
- func ToCamelFirstUpper(str string) string
- func ToJSON(v interface{}, indents ...bool) string
- func ToSnakeCase(str string) string
- func WriteToFile(filename string, data []byte) (err error)
- type Column
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.