Documentation ¶
Index ¶
- func CharLower(char byte) byte
- func CharUpper(char byte) byte
- func FirstLower(s string) string
- func FirstUpper(s string) string
- func PutInt16(n int16) []byte
- func PutInt32(n int32) []byte
- func PutInt64(n int64) []byte
- func PutInt8(n int8) []byte
- func PutUint16(n uint16) []byte
- func PutUint32(n uint32) []byte
- func PutUint64(n uint64) []byte
- func PutUint8(n uint8) []byte
- func SliceInt16ToString(from []int16) []string
- func SliceInt32ToString(from []int32) []string
- func SliceInt64ToString(from []int64) []string
- func SliceInt8ToString(from []int8) []string
- func SliceIntToString(from []int) []string
- func SliceStringToInt(from []string) ([]int, error)
- func SliceStringToInt16(from []string) ([]int16, error)
- func SliceStringToInt32(from []string) ([]int32, error)
- func SliceStringToInt64(from []string) ([]int64, error)
- func SliceStringToInt8(from []string) ([]int8, error)
- func SliceStringToUint(from []string) ([]uint, error)
- func SliceStringToUint16(from []string) ([]uint16, error)
- func SliceStringToUint32(from []string) ([]uint32, error)
- func SliceStringToUint64(from []string) ([]uint64, error)
- func SliceStringToUint8(from []string) ([]uint8, error)
- func SliceUint16ToString(from []uint16) []string
- func SliceUint32ToString(from []uint32) []string
- func SliceUint64ToString(from []uint64) []string
- func SliceUint8ToString(from []uint8) []string
- func SliceUintToString(from []uint) []string
- func StringToBytes(s string) []byte
- func ToInt16(p []byte) int16
- func ToInt32(p []byte) int32
- func ToInt64(p []byte) int64
- func ToInt8(p []byte) int8
- func ToUint16(p []byte) uint16
- func ToUint32(p []byte) uint32
- func ToUint64(p []byte) uint64
- func ToUint8(p []byte) uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SliceInt16ToString ¶ added in v0.21.6
SliceInt16ToString []int16 转 []string
func SliceInt32ToString ¶ added in v0.21.6
SliceInt32ToString []int32 转 []string
func SliceInt64ToString ¶ added in v0.21.6
SliceInt64ToString []int64 转 []string
func SliceInt8ToString ¶ added in v0.21.6
SliceInt8ToString []int8 转 []string
func SliceIntToString ¶ added in v0.21.6
SliceIntToString []int 转 []string
func SliceStringToInt ¶ added in v0.14.3
SliceStringToInt []string 转 []int
func SliceStringToInt16 ¶ added in v0.14.3
SliceStringToInt16 []string 转 []int6
func SliceStringToInt32 ¶ added in v0.14.3
SliceStringToInt32 []string 转 []int32
func SliceStringToInt64 ¶ added in v0.14.3
SliceStringToInt64 []string 转 []int64
func SliceStringToInt8 ¶ added in v0.14.3
SliceStringToInt8 []string 转 []int8
func SliceStringToUint ¶ added in v0.14.3
SliceStringToUint []string 转 []uint
func SliceStringToUint16 ¶ added in v0.14.3
SliceStringToUint16 []string 转 []uint16
func SliceStringToUint32 ¶ added in v0.14.3
SliceStringToUint32 []string 转 []uint32
func SliceStringToUint64 ¶ added in v0.14.3
SliceStringToUint64 []string 转 []uint64
func SliceStringToUint8 ¶ added in v0.14.3
SliceStringToUint8 []string 转 []uint8
func SliceUint16ToString ¶ added in v0.21.6
SliceUint16ToString []uint16 转 []string
func SliceUint32ToString ¶ added in v0.21.6
SliceUint32ToString []uint32 转 []string
func SliceUint64ToString ¶ added in v0.21.6
SliceUint64ToString []uint64 转 []string
func SliceUint8ToString ¶ added in v0.21.6
SliceUint8ToString []uint8 转 []string
func SliceUintToString ¶ added in v0.21.6
SliceUintToString []uint 转 []string
func StringToBytes ¶
StringToByte 字符串转 []byte,转出的 []byte 可读不可写
Types ¶
This section is empty.