Documentation ¶
Index ¶
- func ConcatString(s ...string) string
- func ConcatStringBySlash(s ...string) string
- func EscapeQuote(str string) string
- func GetWorkDir() string
- func IsEmpty(s string) bool
- func MakeDirectory(filename string) string
- func StringToInt(str string) (int, error)
- func StringToInt64(str string) (int64, error)
- func StringToUint64(str string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatString ¶
ConcatString 连接字符串 NOTE: 性能比fmt.Sprintf和+号要好
func ConcatStringBySlash ¶
ConcatStringBySlash concat string by slash
func EscapeQuote ¶
EscapeQuote escape the string the single quote, double quote, and backtick
func MakeDirectory ¶
MakeDirectory return the writeable filename
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.