添加了对 proto 的解析支持
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package zm_proto
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestP1(t *testing.T) {
|
||||
pb := NewProto()
|
||||
err := pb.ParseImport("game\\pro_array.proto")
|
||||
fmt.Println(err)
|
||||
fmt.Println(pb)
|
||||
}
|
||||
Reference in New Issue
Block a user