Versions in this module Expand all Collapse all v0 v0.0.1 Apr 22, 2020 Changes in this version + type CacheControl struct + MaxAge time.Duration + type Enum struct + File *File + Index int + Outers []string + func (e *Enum) EnumName() string + type Field struct + DefaultValue interface{} + Dependence *Message + Description string + Enum *Enum + Exclude bool + External string + FieldMessage *Message + Inline bool + Message *Message + Name string + Nullable *bool + func (f *Field) FieldName() string + func (f *Field) GetterExternalName() string + func (f *Field) GoDefaultValue() string + func (f *Field) GoType() string + func (f *Field) IsDefaultValueBool() bool + func (f *Field) IsDefaultValueNumber() bool + func (f *Field) IsDefaultValueString() bool + func (f *Field) IsEnumType() bool + func (f *Field) IsExternal() bool + func (f *Field) IsMessageType() bool + func (f *Field) IsNullable() bool + func (f *Field) ScalarType() string + func (f *Field) Variable() string + type File struct + Enums []*Enum + GoPkg *GoPackage + Messages []*Message + Services []*Service + type GoPackage struct + Alias string + Name string + Path string + func (p *GoPackage) HasStdLib() bool + func (p *GoPackage) String() string + type Message struct + Fields []*Field + File *File + Index int + Object *Object + Outers []string + Type string + func (m *Message) FieldName() string + func (m *Message) GetGoTypeName() string + func (m *Message) GetInlineSchemaTypeName() string + func (m *Message) GetSchemaTypeName() string + func (m *Message) Inline() bool + func (m *Message) InlineFieldName() string + func (m *Message) IsObject() bool + func (m *Message) MessageName() string + type Method struct + CacheControl *CacheControl + Description string + Extend bool + Field string + Mutation bool + Name string + Query bool + Reference bool + Request *Message + Response *Message + Service *Service + Subscribe bool + func (m *Method) FieldName() string + func (m *Method) FullMethod() string + func (m *Method) GraphQLMethod() string + func (m *Method) HasGraphQLMethod() bool + func (m *Method) Variable() string + type Object struct + Keys []string + Typename string + type Registry struct + Enums map[string]*Enum + Files map[string]*File + ImportPath string + Messages map[string]*Message + Pkgs map[string]string + Prefix string + func New() *Registry + func (r *Registry) Apply(req *plugin.CodeGeneratorRequest) error + func (r *Registry) LookupEnum(location, name string) (*Enum, error) + func (r *Registry) LookupFile(name string) (*File, error) + func (r *Registry) LookupMsg(location, name string) (*Message, error) + type Service struct + File *File + Methods []*Method + func (s *Service) PrivateServiceName() string