Versions in this module Expand all Collapse all v0 v0.2.6 Apr 6, 2022 Changes in this version + func GetRelPath(absPath string) (*string, error) + func Merge(indent string, paths ...string) *string + type Arg struct + IsList bool + IsListNull bool + Null bool + Param string + Type string + TypeExt *string + func ParseArgument(l *Lexer) []*Arg + type BaseFileInfo struct + Column int + Filename string + Line int + type Directive struct + type Enum struct + Fields []string + Name string + type Input struct + Name string + Props []*Prop + type Interface struct + Name string + Props []*Prop + type Lexer struct + func NewLexer(file *os.File) *Lexer + func (l *Lexer) ConsumeComment() + func (l *Lexer) ConsumeDirective() + func (l *Lexer) ConsumeIdent() string + func (l *Lexer) ConsumeMultiLineComment() + func (l *Lexer) ConsumeToken(expected rune) + func (l *Lexer) ConsumeWhitespace() + func (l *Lexer) GetBuffer() string + func (l *Lexer) Peek() rune + type MergedSchema struct + Indent string + func (ms *MergedSchema) StitchSchema(s *Schema) string + type Mutation struct + Args []*Arg + Directive *Directive + Name string + Resp Resp + type Prop struct + Args []*Arg + Directive *Directive + IsList bool + IsListNull bool + Name string + Null bool + Type string + type Query struct + Args []*Arg + Directive *Directive + Name string + Resp Resp + type Resp struct + IsList bool + IsListNull bool + Name string + Null bool + type Scalar struct + Name string + type Schema struct + Enums []*Enum + Files []*os.File + Inputs []*Input + Interfaces []*Interface + Mutations []*Mutation + Queries []*Query + Scalars []*Scalar + Subscriptions []*Subscription + TypeNames []*TypeName + Unions []*Union + func (s *Schema) ParseSchema(l *Lexer) + func (s *Schema) UniqueEnum(wg *sync.WaitGroup) + func (s *Schema) UniqueInput(wg *sync.WaitGroup) + func (s *Schema) UniqueInterface(wg *sync.WaitGroup) + func (s *Schema) UniqueMutation(wg *sync.WaitGroup) + func (s *Schema) UniqueQuery(wg *sync.WaitGroup) + func (s *Schema) UniqueScalar(wg *sync.WaitGroup) + func (s *Schema) UniqueSubscription(wg *sync.WaitGroup) + func (s *Schema) UniqueTypeName(wg *sync.WaitGroup) + func (s *Schema) UniqueUnion(wg *sync.WaitGroup) + func (sc *Schema) GetSchema(path string) + func (sc *Schema) Persist(path string) error + type Subscription struct + Args []*Arg + Directive *Directive + Name string + Resp Resp + type TypeName struct + Impl bool + ImplType *string + ImplTypes []string + Name string + Props []*Prop + type Union struct + Fields []string + Name string