Versions in this module Expand all Collapse all v0 v0.1.0 May 7, 2025 Changes in this version + type Function struct + func (f *Function) Code() string + func (f *Function) IsMethod() bool + func (f *Function) Name() string + func (f *Function) ReceiverType() string + func (f *Function) Signature() string + type Options struct + CustomPackageName string + IncludeTestFiles bool + PreserveFormattingStyle bool + SkipComments bool + func DefaultOptions() *Options + type Package struct + Model *model.GoPackage + func Parse(dir string) (*Package, error) + func ParseWithOptions(dir string, opts *Options) (*Package, error) + func (p *Package) ConstantNames() []string + func (p *Package) Format() (string, error) + func (p *Package) FormatWithOptions(opts *Options) (string, error) + func (p *Package) FunctionNames() []string + func (p *Package) GetFunction(name string) *Function + func (p *Package) GetType(name string) *Type + func (p *Package) Imports() []string + func (p *Package) Name() string + func (p *Package) TypeNames() []string + func (p *Package) VariableNames() []string + type Type struct + func (t *Type) Code() string + func (t *Type) IsInterface() bool + func (t *Type) IsStruct() bool + func (t *Type) Kind() string + func (t *Type) Name() string