Dep was an official experiment to implement a package manager for Go. While dep has many discrete components and moving parts, all of these parts revolve around a central model. Dep is a tool intended primarily for use by developers, to support the work of actually writing and shipping code. It is not intended for end users who are installing Go software - that's what go get does. It is strongly recommended that you use a released version of dep. While tip is never purposefully broken, its stability is not guaranteed. Note that dep requires a functioning Go workspace and GOPATH. Dep is centered around the idea of the "four state system" - a model for classifying and organizing the on-disk state with which a package manager interacts. This was first articulated as a coherent, general model in this (long) article, though many of the principles in the four state model were derived from existing package managers.

Features

  • Provides a solving function, that takes as its input the set of imports in the current project and the rules in Gopkg.toml
  • Provides a vendoring function, that takes the information in a Gopkg.lock as its input and ensures an on-disk arrangement of source files
  • One of dep's design goals is that both of its "functions" minimize both the work they do, and the change they induce in their respective outputs
  • Most network issues are ephemeral, even if they may last for a few minutes, and can be addressed simply by re-running the same command
  • The solver guarantees certain invariants in every complete solution it returns
  • Deduction is dep's algorithm for looking at an import path and determining the portion of the path that corresponds to the source root

Project Samples

Project Activity

See All Activity >

Categories

Package Managers

License

MIT License

Follow Dep

Dep Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Dep!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Go

Related Categories

Go Package Managers

Registered

2021-04-27