Go dependency management tool experiment (deprecated)
Перейти к файлу
Daniel Martí f13583b555 README: clarify deprecation and point to modules
See https://github.com/golang/go/issues/38158.
2020-09-05 14:34:46 +01:00
.github docs: hash-inputs is gone, nix it from PR template 2018-07-11 02:58:46 -04:00
cmd/dep Fix minor typo (caught by Lintian) 2019-08-07 04:52:37 -06:00
docs README: clarify deprecation and point to modules 2020-09-05 14:34:46 +01:00
gps gps: pass correct arguments to "git clean" 2019-06-13 11:27:55 -07:00
hack hack,internal: fix staticcheck 2019-06-13 09:16:50 -07:00
internal hack,internal: fix staticcheck 2019-06-13 09:16:50 -07:00
testdata dep: Update scads of tests 2018-07-03 19:14:30 -04:00
vendor travis.yml: update to Go 1.12 2019-03-04 10:00:38 -08:00
website delete all duplicate empty blanks 2019-03-03 18:08:20 -08:00
.codeclimate.yml codeclimate.yml: disable go fmt check 2019-01-22 20:56:47 -08:00
.gitattributes Prevent problems comparing golden files on Windows 2017-02-20 23:45:11 -05:00
.gitignore Fixes and cleanup to build script 2018-01-27 10:23:49 -08:00
.travis.yml travis.yml: Use correct filenames for arm (v6/7) release files 2019-04-09 21:47:06 -07:00
AUTHORS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
CHANGELOG.md CHANGELOG: prepare for 0.5.4 release 2019-06-13 12:24:58 -07:00
CODE_OF_CONDUCT.md (To Squash) Moving CODE_OF_CONDUCT.md ../ 2017-04-25 09:11:55 -06:00
CONTRIBUTING.md delete all duplicate empty blanks 2019-03-03 18:08:20 -08:00
CONTRIBUTORS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
Gopkg.lock travis.yml: update to Go 1.12 2019-03-04 10:00:38 -08:00
Gopkg.toml upgrade toml import 2019-04-09 22:26:25 -07:00
LICENSE Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
MAINTAINERS.md update CODEOWNERS and MAINTAINERS with more @jmank88 2018-02-07 08:21:32 -06:00
Makefile gps: support loading credentials from a netrc file 2019-05-08 11:21:24 -07:00
PATENTS Add repo boilerplate and readme 2016-10-07 11:28:24 +11:00
README.md README: clarify deprecation and point to modules 2020-09-05 14:34:46 +01:00
analyzer.go Move gps package out of internal 2017-11-10 17:02:30 -08:00
analyzer_notwindows_test.go Add Windows specific function for making a file unreadable during tests. 2017-05-02 02:34:40 -04:00
analyzer_test.go dep: add prune options to manifests 2017-11-17 10:25:07 +03:00
analyzer_windows_test.go Add Windows specific function for making a file unreadable during tests. 2017-05-02 02:34:40 -04:00
appveyor.yml increment CI go versions from 1.8.x/1.9.x/tip to 1.9.x/"1.10"/tip 2018-02-19 14:13:58 -06:00
context.go context.go: Clean GOPATH with filepath.Clean() before returning 2018-07-18 14:45:19 +02:00
context_test.go context.go: Clean GOPATH with filepath.Clean() before returning 2018-07-18 14:45:19 +02:00
doc.go improve godoc; replace Loggers with embeded fields; refactor Ctx api 2017-06-07 08:46:44 -05:00
install.sh feat(arm): Add build and install support for armv6 and arm64 2019-02-01 08:17:45 +13:00
lock.go dep: Update scads of tests 2018-07-03 19:14:30 -04:00
lock_test.go dep: Get DeltaWriter into a working state 2018-07-03 01:41:47 -04:00
manifest.go dep: Introduce noverify field to Gopkg.toml 2018-07-24 00:16:45 -04:00
manifest_test.go [FIX] Cleanup code 2018-02-11 15:20:44 +03:00
project.go dep: Introduce dep check subcommand 2018-07-12 00:51:18 -04:00
project_test.go dep: Update scads of tests 2018-07-03 19:14:30 -04:00
test_project_context_test.go Move gps package out of internal 2017-11-10 17:02:30 -08:00
txn_writer.go dep: Make noverify preserve excess vendor paths 2018-09-06 00:08:18 -04:00
txn_writer_test.go dep: Make SafeWriter use status map for OnChanged 2018-07-20 17:21:18 -07:00

README.md

Build Status Windows Build Status

Dep

dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile.

NOTE: Dep was an official experiment to implement a package manager for Go. As of 2020, Dep is deprecated and archived in favor of Go modules, which have had official support since Go 1.11. For more details, see https://golang.org/ref/mod.

For guides and reference materials about dep, see the documentation.

Installation

You should use an officially released version. Release binaries are available on the releases page.

On MacOS you can install or upgrade to the latest released version with Homebrew:

$ brew install dep
$ brew upgrade dep

On Debian platforms you can install or upgrade to the latest version with apt-get:

$ sudo apt-get install go-dep

On Windows, you can download a tarball from go.equinox.io.

On other platforms you can use the install.sh script:

$ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

It will install into your $GOPATH/bin directory by default or any other directory you specify using the INSTALL_DIRECTORY environment variable.

If your platform is not supported, you'll need to build it manually or let the team know and we'll consider adding your platform to the release builds.

If you're interested in getting the source code, or hacking on dep, you can install via go get:

go get -u github.com/golang/dep/cmd/dep