vendoring

package
v0.0.0-...-a204096 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package vendoring provides a several variables used in vendoring buildscripts and function that reports (without any external dependencies) if the current environment requires legacy-style vendoring, or if its safe to use new-style vendoring.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Path to the vendored gopath component.
	Path = filepath.Join("build", "vendor")

	// Path to the legacy vendor source directory.
	Src = filepath.Join(Path, "src")
)

Functions

func NeedsLegacy

func NeedsLegacy() bool

NeedsLegacy determines what kind vendoring system to use. Returns true when using pre-go1.5 vendoring, and false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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