An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.5% on proxy.golang.org

proxy.golang.org : golang.org/x/tools/go/packages/packagestest

Package packagestest creates temporary projects on disk for testing go tools on. [Note: there is an open proposal (golang/go#70229) to deprecate, tag, and delete this package. If accepted, the last version of the package be available indefinitely but will not receive updates.] By changing the exporter used, you can create projects for multiple build systems from the same description, and run the same tests on them in many cases. As an example of packagestest use, consider the following test that runs the 'go list' command on the specified modules: TestGoList uses TestAll to exercise the 'go list' command with all exporters known to packagestest. Currently, packagestest includes exporters that produce module mode layouts and GOPATH mode layouts. Running the test with verbose output will print:

Registry - Homepage - Documentation - JSON - codemeta.json
purl: pkg:golang/golang.org/x/tools/go/packages/packagestest
License: BSD-3-Clause
Latest release: 5 months ago
First release: 5 months ago
Namespace: golang.org/x/tools/go/packages
Last synced: 25 days ago

    Loading...
    Readme
    Loading...