gopathdep

command module
v0.0.0-...-ed8d817 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

README

gopathdep

Manage your $GOPATH dependencies for your project.

To get a project setup with gopathdep, cd into the project's repo and record its current dependencies: gopathdep record. This will create a pathdep.yaml file at the root of the repo, which lists each dependency and the desired commit. You can edit this file to specify a branch or tag, for example: branch: master to always use the master branch of a particular dependency, or tag: v1.2 to always use the v1.2 tag.

You can check to see if your dependencies are what has been specified by doing gopathdep check.

You can use gopathdep apply to apply your project's dependency requirements to your $GOPATH. This will checkout packages to the specified commit/tag/branch. If a dependency has modifications in it, gopathdep will refuse to update that dependency and warn you about the inconsistency.

Note that this tool is not intended to work with the vendor directory. It is intended to use your $GOPATH for this purpose instead. If you want to use the vendor directory, I'd recommend using one of the other many dependency management tools available.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
subcmds

Jump to

Keyboard shortcuts

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