panic: reflect.Value.Interface: cannot return value obtained from unexported field or method

go的结构体中私有的属性, 即使反射也获取不到

猜你喜欢

转载自www.cnblogs.com/-xuzhankun/p/10535058.html