Searched refs:goName (Results 1 – 1 of 1) sorted by relevance
/external/golang-protobuf/protoc-gen-go/generator/ |
D | generator.go | 1770 goName string // Go struct name of the message, e.g. MessageName member 1776 goName string // Go name of field, e.g. "FieldName" or "Descriptor_" member 1807 …g.P(f.comment, Annotate(mc.message.file, f.fullPath, f.goName), "\t", f.goType, "\t`", f.tags, "`"… 1821 …g.P("func (m *", mc.goName, ") ", Annotate(mc.message.file, f.fullPath, f.getterName), "() "+tname… 1824 g.P("return m." + f.goName) 1834 g.P("if m != nil && m." + f.goName + " != nil {") 1836 g.P("return " + star + "m." + f.goName) 1910 g.P(comment, Annotate(mc.message.file, f.fullPath, f.goName), " ", f.goType, " `", f.tags, "`") 1924 g.P(Annotate(mc.message.file, sf.fullPath, sf.goName), " ", sf.goType, " `", sf.tags, "`") 1933 …g.P("func (m *", mc.goName, ") ", Annotate(mc.message.file, f.fullPath, f.getterName), "() ", f.go… [all …]
|