Documentation ¶
Index ¶
- func Add(s []string, a string) []string
- func HexStr2int(hexStr string) (int, error)
- func Int2HexStr(num int) (hex string)
- func PowInt(x int, y int) int
- func RuneAccumulation(str string) rune
- func StringSort(str1, str2 string) (small, big string)
- func StringSortByRune(str1, str2 string) (small, big string)
- func ToStr(value interface{}, args ...int) (s string)
- func Union(s []string, a []string) []string
- func Uniq(s []string) (r []string)
- type StrTo
- func (f StrTo) Exist() bool
- func (f StrTo) Int() (int, error)
- func (f StrTo) Int64() (int64, error)
- func (f StrTo) Md5() string
- func (f StrTo) MustInt() int
- func (f StrTo) MustInt64() int64
- func (f StrTo) MustTime(format ...string) time.Time
- func (f StrTo) MustUint8() uint8
- func (f StrTo) String() string
- func (f StrTo) Time(format ...string) (time.Time, error)
- func (f StrTo) ToLower() string
- func (f StrTo) ToUpper() string
- func (f StrTo) Uint8() (uint8, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HexStr2int ¶
HexStr2int converts hex format string to decimal number.
func Int2HexStr ¶
Int2HexStr converts decimal number to hex format string.
func RuneAccumulation ¶
func StringSort ¶
func StringSortByRune ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.