# goloader **Repository Path**: mirrors_sourcegraph/goloader ## Basic Information - **Project Name**: goloader - **Description**: golang.org/x/tools/go/loader but with a definable types.Importer - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # goloader A fork of golang.org/x/tools/go/loader but with support for choosing the [`types.Importer`](https://golang.org/pkg/go/types/#Importer) that is used. ## Why? 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](https://github.com/sourcegraph/go-langserver/issues/178).