go-extimport

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

go-extimport

go-extimport is a program that verifies that there are no imports that reference external packages in a Go project.

A package is considered external if it is not in the standard Go library and not resolvable within the project directory itself (the package is not in the project or vendored in the project). An import is considered to be directly external if it imports an external package. An import is considered transitively external if the imported package itself is not external, but one of its dependent packages is external.

Given a package, go-extimport checks the imports of all of the Go files and Go test files in that package. However, when checking transitive external package dependencies, only non-test go files are considered (that is, the check will not fail if a test file of an imported package has an external dependency).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL