extensionimpl

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedKind = errors.New("unsupported protoreflect.Kind")
)

Functions

func GoSanitized

func GoSanitized(s string) string

func NewAttribute

func NewAttribute(synth extension.Synthesizer, field *protogen.Field, explicit bool) (extension.Attribute, error)

func NewListTypeValue

func NewListTypeValue(message *protogen.Message) extension.TypeValue

func NewMapTypeValue

func NewMapTypeValue(message *protogen.Message) extension.TypeValue

func NewModel

func NewModel(synth synthesizer, msg *protogen.Message, explicit bool) (extension.Model, error)

func NewNestedSingleObjectTypeValue

func NewNestedSingleObjectTypeValue(message *protogen.Message) extension.TypeValue

func NewProvider

func NewProvider(synth extension.Synthesizer, msg *protogen.Message) (extension.Provider, error)

func NewSynthesizer

func NewSynthesizer(module string) extension.Synthesizer

func Schema

func Schema(field *protogen.Field) (*pb.GoIdentity, error)

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 TypeValueBool() extension.TypeValue

func TypeValueFloat64

func TypeValueFloat64() extension.TypeValue

func TypeValueInt64

func TypeValueInt64() extension.TypeValue

func TypeValueString

func TypeValueString() extension.TypeValue

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL