Documentation
¶
Index ¶
- func FindPkg(path, srcDir string) (filename, id string)
- func IExportBundle(out io.Writer, fset *token.FileSet, pkgs []*types.Package) error
- func IExportData(out io.Writer, fset *token.FileSet, pkg *types.Package) error
- func IExportShallow(fset *token.FileSet, pkg *types.Package, reportf ReportFunc) ([]byte, error)
- func IImportShallow(fset *token.FileSet, getPackages GetPackagesFunc, data []byte, path string, ...) (*types.Package, error)
- func Import(packages map[string]*types.Package, path, srcDir string, ...) (pkg *types.Package, err error)
- type GetPackagesFunc
- type GetPackagesItem
- type ReportFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IExportBundle ¶
func IExportShallow ¶
func IImportShallow ¶
func IImportShallow(fset *token.FileSet, getPackages GetPackagesFunc, data []byte, path string, reportf ReportFunc) (*types.Package, error)
Types ¶
type GetPackagesFunc ¶
type GetPackagesFunc = func(items []GetPackagesItem) error
type GetPackagesItem ¶
type ReportFunc ¶
type ReportFunc = func(string, ...interface{})
Click to show internal directories.
Click to hide internal directories.