Searched defs:StructProperties (Results 1 – 2 of 2) sorted by relevance
100 type StructProperties struct { struct101 Prop []*Properties // properties for each field102 reqCount int // required count103 decoderTags tagMap // map from proto tag to struct field number104 decoderOrigNames map[string]int // map from original name to struct field number105 order []int // list of struct field numbers in tag order109 OneofTypes map[string]*OneofProperties122 func (sp *StructProperties) Len() int { return len(sp.order) }123 func (sp *StructProperties) Less(i, j int) bool {126 func (sp *StructProperties) Swap(i, j int) { sp.order[i], sp.order[j] = sp.order[j], sp.order[i] }
385 func structFieldByName(sprops *StructProperties, name string) (int, *Properties, bool) {