Versions in this module Expand all Collapse all v0 v0.0.0 Jul 3, 2019 Changes in this version + var DefaultOptions = []Option + func GenCLI(args ...string) error + type Config struct + func (cfg *Config) GenAST(files ...string) (*ast.File, error) + func (cfg *Config) GenCLI(arguments ...string) error + func (cfg *Config) GenSource(files ...string) ([]byte, error) + func (cfg *Config) Option(opts ...Option) (previous Option) + func (cfg *Config) XSDOption(opts ...xsdgen.Option) (previous xsdgen.Option) + type Logger interface + Printf func(format string, v ...interface{}) + type Option func(*Config) Option + func InputThreshold(n int) Option + func LogLevel(level int) Option + func LogOutput(dest Logger) Option + func OnlyPorts(ports ...string) Option + func OutputThreshold(n int) Option + func PackageComment(comment string) Option + func PackageName(name string) Option