Documentation ¶
Index ¶
- func ArrayInt64Contain(a []int64, n int64) bool
- func ArrayInt64Remove(a []int64, n int64) []int64
- func ArrayIntContain(a []int, n int) bool
- func ArrayIntRemove(a []int, n int) []int
- func ArrayRemoveDup(a []interface{}) []interface{}
- func ArrayStringContain(a []string, s string) bool
- func ArrayStringRemove(a []string, s string) []string
- func BigEndianBytesToUint16(bs []byte) uint16
- func BigEndianBytesToUint32(bs []byte) uint32
- func BigEndianBytesToUint64(bs []byte) uint64
- func BigEndianUint16ToBytes(bs []byte, n uint16)
- func BigEndianUint32ToBytes(bs []byte, n uint32)
- func BigEndianUint64ToBytes(bs []byte, n uint64)
- func BoolToInt8(b bool) int8
- func EncryptBytes(bs []byte)
- func EncryptNumber(n int) int
- func GetDiskUUIDNumber(name string) string
- func GetRelativePath(p1, p2 string) string
- func Int8ToBool(i int8) bool
- func IsEqual(a, b int) bool
- func IsOddNumber(n int) bool
- func ZoreInt(n int) int
- type Array
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayInt64Contain ¶
func ArrayInt64Remove ¶
func ArrayIntContain ¶
func ArrayIntRemove ¶
func ArrayRemoveDup ¶
func ArrayRemoveDup(a []interface{}) []interface{}
func ArrayStringContain ¶
func ArrayStringRemove ¶
func BigEndianBytesToUint16 ¶
func BigEndianBytesToUint32 ¶
func BigEndianBytesToUint64 ¶
func BigEndianUint16ToBytes ¶
func BigEndianUint32ToBytes ¶
func BigEndianUint64ToBytes ¶
func BoolToInt8 ¶ added in v1.0.1
func EncryptBytes ¶
func EncryptBytes(bs []byte)
func EncryptNumber ¶
func GetDiskUUIDNumber ¶
func GetRelativePath ¶
func Int8ToBool ¶ added in v1.0.1
func IsOddNumber ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.