Documentation ¶
Index ¶
- type Fn
- type Pkg
- func (p *Pkg) GetBodyWithoutFns() string
- func (p *Pkg) GetRemainingBody() (string, error)
- func (p *Pkg) LoadAst(filePath string) error
- func (p *Pkg) LoadBody(filePath string) error
- func (p *Pkg) LoadFns()
- func (p *Pkg) LoadImports()
- func (p *Pkg) LoadStructOrIntfs()
- func (p Pkg) String() string
- func (p *Pkg) WriteOutput() error
- type StructOrIntf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pkg ¶
type Pkg struct { Name string FilePath string Body string Fns []Fn Imports []impt.Impt StructOrIntf []StructOrIntf Ast *ast.File `json:"-"` }
Package
func (*Pkg) GetBodyWithoutFns ¶
func (*Pkg) GetRemainingBody ¶
func (*Pkg) LoadImports ¶
func (p *Pkg) LoadImports()
func (*Pkg) LoadStructOrIntfs ¶
func (p *Pkg) LoadStructOrIntfs()
func (*Pkg) WriteOutput ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.