Documentation
¶
Index ¶
- func Generate(file *protogen.File, generatedFile *protogen.GeneratedFile, ...) error
- type Field
- type Model
- func (m *Model) ActiveFields() []*Field
- func (m *Model) ErrorVarsDef() string
- func (m *Model) FromPbDef() (string, error)
- func (m *Model) GoName() string
- func (m *Model) HasEtag() bool
- func (m *Model) ParseNameDef() (string, error)
- func (m *Model) StructDef() (string, error)
- func (m *Model) ToPbDef() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
Message *protogen.Message
ModelOpts *modelpb.ModelOpts
ParsedResource *resource.ParsedResource
Patterns []*resource.ParsedPattern
MultiPattern bool
Table schema.Table
Bindings []schema.ColumnBinding
Fields []*Field
// contains filtered or unexported fields
}
func (*Model) ActiveFields ¶
func (*Model) ErrorVarsDef ¶
func (*Model) ParseNameDef ¶
Click to show internal directories.
Click to hide internal directories.