我有一个结构体正在与protobuff序列化器一起使用并且运行良好。这个结构是由protobuff生成的,因此它有很多方法,比如Unmarshal等。typeFlightstruct{FlightNostring`json:"flightno,omitempty"`Carrierstring`json:"carrier,omitempty"`}func(m*Flight)Unmarshal(data[]byte)error{l:=len(data)iNdEx:=0foriNdEx=64{returnErrIntOverflowFlight}ifiNdEx>=l{returnio.Err