cockroach: Index | Files

package buildutil

import ""


Package Files


func TransitiveImports Uses

func TransitiveImports(importpath string, cgo bool) (map[string]struct{}, error)

TransitiveImports returns a set containing all of importpath's transitive dependencies.

func VerifyNoImports Uses

func VerifyNoImports(
    t testing.TB,
    pkgPath string,
    cgo bool,
    forbiddenPkgs, forbiddenPrefixes []string,

VerifyNoImports verifies that a package doesn't depend (directly or indirectly) on forbidden packages. The forbidden packages are specified as either exact matches or prefix matches. If GOPATH isn't set, it is an indication that the source is not available and the test is skipped.

Package buildutil imports 3 packages (graph). Updated 2017-03-13. Refresh now. Tools for package owners. This is a dead-end fork (no commits since the fork).