Documentation
¶
Index ¶
- type FieldType
- type Module
- func (m *Module) Check(msg pgs.Message)
- func (m *Module) CheckDuration(ft FieldType, r string)
- func (m *Module) CheckEnum(ft FieldType, r uint32)
- func (m *Module) CheckFieldRules(typ FieldType, fieldDefaults *defaults.FieldDefaults)
- func (m *Module) CheckMessage(f pgs.Field, defaults *defaults.FieldDefaults)
- func (m *Module) CheckOneOf(oneOf pgs.OneOf)
- func (m *Module) CheckTimestamp(ft FieldType, r string)
- func (m *Module) Execute(targets map[string]pgs.File, _ map[string]pgs.Package) []pgs.Artifact
- func (m *Module) InitContext(c pgs.BuildContext)
- func (m *Module) MustType(typ FieldType, pt pgs.ProtoType, wrapper pgs.WellKnownType)
- func (m *Module) Name() string
- type Repeatable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { *pgs.ModuleBase // contains filtered or unexported fields }
func (*Module) CheckDuration ¶
func (*Module) CheckFieldRules ¶
func (m *Module) CheckFieldRules(typ FieldType, fieldDefaults *defaults.FieldDefaults)
func (*Module) CheckMessage ¶
func (m *Module) CheckMessage(f pgs.Field, defaults *defaults.FieldDefaults)
func (*Module) CheckOneOf ¶
func (*Module) CheckTimestamp ¶
func (*Module) InitContext ¶
func (m *Module) InitContext(c pgs.BuildContext)
type Repeatable ¶
type Repeatable interface {
IsRepeated() bool
}
Click to show internal directories.
Click to hide internal directories.