错误提示: 提示关键词: *** undefined (type *** has no field or method ***) compiler(MissingFieldOrMethod)解决办法:方法一:将属性名的开头字母调整为大写。 ype EZNGJDecoder struct { ByHead byte //属性名开头字母大写 }方法二:创建一个方法用来访问该属性。