Documentation ¶
Index ¶
- func Complete(src string, pos token.Pos, conf *Config) ([]string, int, int)
- func InspectIdent(src string, pos token.Pos, conf *Config) (doc, query string)
- func SetLGOImporter(im types.Importer)
- func SetPackageArchiveInstaller(i PackageArchiveInstaller)
- type Config
- type ConvertResult
- type ErrorList
- type PackageArchiveInstaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InspectIdent ¶
InspectIdent shows a document or a query for go doc command for the identifier at pos.
func SetLGOImporter ¶
func SetPackageArchiveInstaller ¶
func SetPackageArchiveInstaller(i PackageArchiveInstaller)
Types ¶
type ConvertResult ¶
type ConvertResult struct { Src string Pkg *types.Package Checker *types.Checker Imports []*types.PkgName // A list of package paths imported in the final Src. FinalDeps []string Err error }
func Convert ¶
func Convert(src string, conf *Config) *ConvertResult
type ErrorList ¶
type ErrorList []error
ErrorList is a list of *Errors. The zero value for an ErrorList is an empty ErrorList ready to use.
type PackageArchiveInstaller ¶
Click to show internal directories.
Click to hide internal directories.