Documentation
¶
Index ¶
- func BitwiseOrToSliceByUint64(n uint64) []uint64
- func BitwiseOrToUint64BySlice(slice []uint64) uint64
- func FormatInt(num int) string
- func GetClientIp(ctx *gin.Context) (clientIP string)
- func GetFirstLetter(str string) string
- func GetLocalIp() string
- func JsonToStruct()
- func MapToJson()
- func ToJson(v interface{}) string
- type NodeItem
- type NodeList
- type NodeTree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BitwiseOrToSliceByUint64 ¶
BitwiseOrToSliceByUint64 将一个 uint64 类型的值按位或运算,返回包含相应位的切片
func BitwiseOrToUint64BySlice ¶
BitwiseOrToUint64BySlice 对切片中的所有元素进行按位或运算
func GetClientIp ¶
func GetFirstLetter ¶
func GetLocalIp ¶
func GetLocalIp() string
func JsonToStruct ¶
func JsonToStruct()
Types ¶
Click to show internal directories.
Click to hide internal directories.