摘要:
反射 我的理解就是:通过字符串的标注,通过指针直接去操作变量的内存地址。 例子 package main import ( "encoding/json" "fmt" ) type person struct { Name string `json:"name"` Age int `json:"ag 阅读全文
posted @ 2023-04-07 17:10
中亿丰数字科技
阅读(62)
评论(0)
推荐(0)
摘要:
数据结构 type hmap struct { count int // 键值对的个数 flags uint8 B uint8 // 桶的个数(2的B次方个) noverflow uint16 // 使用的溢出桶数量 hash0 uint32 // 哈希种子 buckets unsafe.Point 阅读全文
posted @ 2023-04-07 10:00
中亿丰数字科技
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号