Documentation ¶
Index ¶
- func Byte2Str(b []byte) string
- func Int64ToStr(num int64) string
- func IntToStr(num int) string
- func IoReaderToByte(reader io.Reader) *bytes.Buffer
- func IpIntToString(ipInt int64) string
- func ParseObject(input interface{}, tagType int) map[string]string
- func Str2Byte(s string) []byte
- func Str2ByteByReflect(s string) []byte
- func StrReplace(str string, old string, news ...string) string
- func StringIpToInt(ipstring string) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int64ToStr ¶
func IpIntToString ¶
func ParseObject ¶
parse struct of object tagType 1 => "db" 2=> "json"
func Str2ByteByReflect ¶
s2b converts string to a byte slice without memory allocation.
Note it may break if string and/or slice header will change in the future go versions.
func StringIpToInt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.