Versions in this module Expand all Collapse all v0 v0.0.1 Oct 16, 2022 Changes in this version + const DependencyBlockPublisher + const DependencyJobScheduler + const DependencyLogger + const DependencyStdout + const DependencyUserContext + func GetImportPath(file *ast.File, name string) string + func GetSchemaForType(parseCtx *Context, typeNode ast.Expr, pkg string, metadata *Metadata) (schema.Schema, bool, error) + func SortedImportKeys(imports map[string]string) []string + type Context struct + File *ast.File + FileSet *token.FileSet + Parent ast.Node + WorkDir string + func (c *Context) WithFile(f *ast.File) *Context + func (c *Context) WithParent(parent ast.Node) *Context + func (c *Context) WithWorkdir(workDir string) *Context + type Dependency struct + FieldName string + Name string + type Field struct + Dependency string + JSONPropertyName string + Name string + ParameterName string + Required bool + ResultTypeFrom bool + Schema schema.Schema + Variadic bool + func ParseField(parseCtx *Context, fieldName string, astField *ast.Field, pkg string, ...) (*Field, error) + type Metadata struct + Description string + Directives []schema.Directive + func FindType(parseCtx *Context, pkgName, name string) (*ast.File, ast.Expr, *Metadata, error) + func ParseMetadataFromComments(comments []*goast.Comment) (*Metadata, error)