我完全陷入了Go中Protobuf的问题给定以下代码:ifproto.MessageName(&messages.AddedItemEvent{})==""{log.Fatal("empty")}这将评估为true并退出应用程序。什么可能使protobuf在MessageName上返回空字符串?我可以看到类型及其名称在生成的protobuf消息代码中按应有的方式注册:funcinit(){proto.RegisterType((*AddItemCommand)(nil),"messages.AddItemCommand")proto.RegisterType((*AddedItemEv