添加了对 proto 的解析支持
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package zm_proto
|
||||
|
||||
type Message struct {
|
||||
Name string
|
||||
Fields []Field
|
||||
|
||||
Import *Import
|
||||
}
|
||||
|
||||
func (m *Message) GetImportName() string {
|
||||
return m.Import.Name
|
||||
}
|
||||
Reference in New Issue
Block a user