Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtobufPackage = "Lcom/google/protobuf/" ProtobufFieldNumber = "_FIELD_NUMBER" )
Variables ¶
View Source
var (
JavaDefaultTypes = map[string]string{
"I": "int32",
"J": "int64",
"F": "float",
"D": "double",
"B": "byte",
"Z": "bool",
"Ljava/lang/String;": "string",
}
)
Functions ¶
func BytesMutator ¶
func BytesMutator(field *ProtoField) bool
func IntListMutator ¶
func IntListMutator(field *ProtoField) bool
func ListMutator ¶
func ListMutator(field *ProtoField) bool
Types ¶
type Mutator ¶
type Mutator struct { MethodName string Mutator MutatorFunc }
func NewMutatorList ¶
func NewMutatorList() []Mutator
type MutatorFunc ¶
type MutatorFunc func(field *ProtoField) bool
type ProtoMessage ¶
type ProtoMessage struct { Name string IsGlobal bool Fields []*ProtoField OneOfs []*ProtoOneof SubMessages []*ProtoMessage Enums []ProtoEnum }
type ProtoOneof ¶
type ProtoOneof struct { Name string Fields []*ProtoField }
type ProtoPackage ¶
Click to show internal directories.
Click to hide internal directories.