panic: reflect: reflect.Value.SetUint using value obtained using unexported field(go语言)
参考链接:
https://www.geek-share.com/detail/2712555235.html
go语言中在用binary.Read(),把二进制映射为结构体时,如果出现panic: reflect: reflect.Value.SetUint using value obtained using unexported field类似的错误,是要映射的结构体成员没有大写造成的,小写是私有,大写公有的才可以被访问到