func mustUnmarshalInfo(d []byte) raftpb.Info { var i raftpb.Info if err := i.Unmarshal(d); err != nil { // crc matched, but we cannot unmarshal the struct?! // we must be the next winner of the $1B lottery. panic(err) } return i }