Documentation
¶
Index ¶
- func CutLastString(text, beginChar, endChar string) string
- func Int32ToString(value int32) string
- func Int64ToString(value int64) string
- func IntToString(value int) string
- func IsBlank(value string) bool
- func StringToInt(val string, def ...int) int
- func StringToInt32(val string, def ...int32) int32
- func StringToInt64(val string, def ...int64) int64
- func ToInt(value string) (int, bool)
- func ToInt32(value string) (int32, bool)
- func ToInt64(value string) (int64, bool)
- func ToStringSlice(val []interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CutLastString ¶
CutLastString 截取字符串中最后一段,以@beginChar开始,@endChar结束的字符 @text 文本 @beginChar 开始
func Int32ToString ¶ added in v1.1.10
func Int64ToString ¶ added in v1.1.3
func IntToString ¶ added in v1.1.4
func StringToInt ¶ added in v1.1.15
func StringToInt32 ¶ added in v1.1.15
func StringToInt64 ¶ added in v1.1.15
func ToStringSlice ¶
func ToStringSlice(val []interface{}) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.