Name: goloader
Owner: Sourcegraph
Description: golang.org/x/tools/go/loader but with a definable types.Importer
Created: 2017-05-26 18:49:03.0
Updated: 2018-02-27 04:24:56.0
Pushed: 2017-05-26 18:51:15.0
Homepage: null
Size: 31
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A fork of golang.org/x/tools/go/loader but with support for choosing the types.Importer
that is used.
By default, go/loader uses it's own internal implementation of types.Importer
which loads all information by reading Go source files from disk and then performing type-checking. This can be quite slow, because it includes transitive dependencies. For writing things such as editor plugins, this isn't suitable.