Documentation ¶
Index ¶
- Variables
- func GoSanitized(s string) string
- func NewAttribute(synth extension.Synthesizer, field *protogen.Field, explicit bool) (extension.Attribute, error)
- func NewBlock(synth extension.Synthesizer, msg *protogen.Message, ...) (extension.Block, error)
- func NewListTypeValue(message *protogen.Message) extension.TypeValue
- func NewMapTypeValue(message *protogen.Message) extension.TypeValue
- func NewModel(synth synthesizer, msg *protogen.Message, explicit bool) (extension.Model, error)
- func NewNestedSingleObjectTypeValue(message *protogen.Message) extension.TypeValue
- func NewProvider(synth extension.Synthesizer, msg *protogen.Message) (extension.Provider, error)
- func NewSynthesizer(module string) extension.Synthesizer
- func Schema(field *protogen.Field) (*pb.GoIdentity, error)
- func SchemaBool() *pb.GoIdentity
- func SchemaFloat64() *pb.GoIdentity
- func SchemaInt64() *pb.GoIdentity
- func SchemaList() *pb.GoIdentity
- func SchemaMap() *pb.GoIdentity
- func SchemaSingleNested() *pb.GoIdentity
- func SchemaString() *pb.GoIdentity
- func TypeValueBool() extension.TypeValue
- func TypeValueFloat64() extension.TypeValue
- func TypeValueInt64() extension.TypeValue
- func TypeValueString() extension.TypeValue
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedKind = errors.New("unsupported protoreflect.Kind")
)
Functions ¶
func GoSanitized ¶
func NewAttribute ¶
func NewBlock ¶
func NewBlock(synth extension.Synthesizer, msg *protogen.Message, blockType protoreflect.ExtensionType) (extension.Block, error)
func NewProvider ¶
func NewSynthesizer ¶
func NewSynthesizer(module string) extension.Synthesizer
func SchemaBool ¶
func SchemaBool() *pb.GoIdentity
func SchemaFloat64 ¶
func SchemaFloat64() *pb.GoIdentity
func SchemaInt64 ¶
func SchemaInt64() *pb.GoIdentity
func SchemaList ¶
func SchemaList() *pb.GoIdentity
func SchemaMap ¶
func SchemaMap() *pb.GoIdentity
func SchemaSingleNested ¶
func SchemaSingleNested() *pb.GoIdentity
func SchemaString ¶
func SchemaString() *pb.GoIdentity
func TypeValueBool ¶
func TypeValueFloat64 ¶
func TypeValueInt64 ¶
func TypeValueString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.