Documentation ¶
Index ¶
- func CamelString(s string) string
- func CopyFile(src, dst string) (ok bool, err error)
- func CopyPath(src, dst string) (ok bool, err error)
- func CreateMod(root string) (err error)
- func GetApiPrefix() (apiPrefix string, err error)
- func GetFileInfo(src string) os.FileInfo
- func GetMethod(name string) (method string)
- func GetMod() (mod string, err error)
- func GetPwd() (dir string)
- func IsExistsFile(path string) (ok bool, err error)
- func IsExitsDir(dir string) (ok bool)
- func Mkdir(dir string) (err error)
- func ReadAll(filePth string) ([]byte, error)
- func RemoveDuplicateElement(languages []string) []string
- func ReplaceAll(root, old, new string) (err error)
- func SnakeString(s string) string
- func TitleString(s string) string
- func TransformFileName(key string) (name string)
- func TransformName(name string) (camel, class, snake, hyphen string)
- func Unwrap(err error) (uerr error)
- func WriteToFile(fileName string, content string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelString ¶
func GetApiPrefix ¶ added in v1.1.2
func GetFileInfo ¶ added in v0.0.6
func IsExistsFile ¶ added in v0.0.6
func IsExitsDir ¶ added in v0.0.6
func RemoveDuplicateElement ¶ added in v1.1.8
func ReplaceAll ¶ added in v0.0.6
func SnakeString ¶
func TitleString ¶ added in v1.1.8
func TransformFileName ¶ added in v1.1.8
func TransformName ¶ added in v0.0.6
func WriteToFile ¶ added in v0.0.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.