starlarkproto:在Starlark中支持protobuffers 源码
星云母 在starlark中支持原缓冲! test = proto . file ( "github.com/emcfarlane/starlarkproto/testpb/star.proto" ) m = test . Message ( body = "Hello, world!" ) print ( m ) # Message(body = Hello, world!, type = UNKNOWN, ...) m . type = "GREETING" # Enums can be assigned by String, Int or proto.Enum p
用户评论