Documentation
¶
Index ¶
- func FixImports() error
- func GetModuleName() (string, error)
- func Tidy() error
- type Packages
- func (p *Packages) GetFileNameType(importPath string, t string) (string, error)
- func (p *Packages) GetSource(pkg *packages.Package, start, end token.Pos) (string, string)
- func (p *Packages) Load(importPath string) (*packages.Package, error)
- func (p *Packages) PackageFromPath(importPath string) (*packages.Package, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixImports ¶
func FixImports() error
func GetModuleName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.