Documentation ¶ Index ¶ func CreateDir(dir string) error func FileExists(path string) bool func FirstLetterToUpper(s string) string func GetFileSuffix(name string) string func SnakeToPascal(s string) string func ToJson(v interface{}) string func Trim(str string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateDir ¶ func CreateDir(dir string) error func FileExists ¶ func FileExists(path string) bool FileExists 检查文件是否存在 func FirstLetterToUpper ¶ func FirstLetterToUpper(s string) string FirstLetterToUpper 首字母大写 func GetFileSuffix ¶ func GetFileSuffix(name string) string GetFileSuffix 获取文件后缀 func SnakeToPascal ¶ func SnakeToPascal(s string) string SnakeToPascal 蛇形转大驼峰 func ToJson ¶ func ToJson(v interface{}) string func Trim ¶ func Trim(str string) string Types ¶ This section is empty. Source Files ¶ View all Source files file.go string.go transfer.go Click to show internal directories. Click to hide internal directories.