Documentation ¶
Index ¶
- Constants
- func BitsFromByte(b byte) []byte
- func CheckNum(data []byte) int
- func ConvertByte2String(byte []byte, charset string) string
- func ConvertToBin(num int) string
- func DateBytes() []byte
- func GetFreePort() (int, error)
- func GetLocalIp() (string, error)
- func Hex2Dec(val string) int
- func IntToBytes(n int) []byte
- func Reverse(arr *[]string)
- func Str2DEC(s string) (num int)
- func Struct2Map(obj interface{}) map[string]interface{}
- func StructToString(v interface{}) string
Constants ¶
View Source
const ( UTF8 = string("UTF-8") GB18030 = string("GB18030") )
Variables ¶
This section is empty.
Functions ¶
func ConvertByte2String ¶
ConvertByte2String 字符转码
func GetFreePort ¶
func GetLocalIp ¶
func StructToString ¶
func StructToString(v interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.