Versions in this module Expand all Collapse all v0 v0.0.2 Nov 3, 2023 Changes in this version + func Extract(filename string, src interface{}, c *Config) (f *ast.File, err error) + type Config struct + EnumMode string + Module string + Paths []string + PkgName string + Root string + type Extractor struct + func NewExtractor(c *Config) *Extractor + func (b *Extractor) AddFile(filename string, src interface{}) error + func (b *Extractor) Err() error + func (b *Extractor) Files() (files []*ast.File, err error) + func (b *Extractor) Instances() (instances []*build.Instance, err error)