Documentation ¶
Index ¶
- func Comment(format string, args ...interface{}) protogen.Comments
- func GenerateFile(fs flag.FlagSet, plugin *protogen.Plugin, proto *protogen.File, ...) error
- type Field
- type FieldType
- type File
- type Message
- func (m *Message) Annotate(symbol string, loc protogen.Location)
- func (m *Message) CollectionConstantName() string
- func (m *Message) CollectionName() string
- func (m *Message) CollectionNameTitle() string
- func (m *Message) Gen()
- func (m *Message) P(v ...interface{})
- func (m *Message) ProtoName() string
- type Package
- type Packages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FieldType ¶
type FieldType struct { Go protogen.GoIdent Firestore protogen.GoIdent IsPointer bool // TODO: unused? IsEnum bool IsCustom bool IsExternal bool IsList bool // contains filtered or unexported fields }
func NewFieldType ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File wraps the input .proto file and keeps information to generate code.
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func (*Message) CollectionConstantName ¶
func (*Message) CollectionName ¶
func (*Message) CollectionNameTitle ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.