

GitHub - golang/dep: Go dependency management tool
source link: https://github.com/golang/dep
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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
</article
Recommend
-
145
v0.3.2
-
112
sam boyerNov 2017 NOTE: This is a WIP; the dep-check command does not exist yet. I'm putting this out there to get some feedback (feel free to just comment directly on the doc!); I’ll use the feedback to write the tool, then this will become the...
-
75
v0.4.0 of dep has been released - and along with it, this site for documentation and announcements about dep! And, being that it's been nearly six months since [the last dep status update](https://sdboyer.io/dep-status/2017-08-17/) (which are no...
-
76
req-package - dependency management system on top of use-package
-
37
v0.5.0 of dep has been [released](https://github.com/golang/dep/releases/tag/v0.5.0)!
-
28
README.md Poetry: Dependency Management for Python Poetry helps you declare, manage and install dependencies of Python projects, ensuring you...
-
16
Journal 2019.25 - dep graphs, s3 transporter, spec 2 Probably the last update of the year. I had hoped to do it this weekly in 2019. That didn’t quite happen but since this is the 25th update of the year, I average about...
-
7
README.md Spaghetti: a dependency analysis tool for Go packages Spaghetti is an interactive web-based tool to help you understand the depende...
-
15
All Posts Go 包管理工具 dep 和 go module 的对比 @POST· 2021-02-24 20:33 · 11 min read 最近我将一些项目的依赖管理工具从 dep 迁移到了 go module,有一些爽的地方,也有一些不爽的地方,...
-
7
dep - SuRenPi dep ensure -update
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK