You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Dependencies
|
|
|
|
============
|
|
|
|
* go1.3.3
|
|
|
|
* godep
|
|
|
|
* go get github.com/tools/godep
|
|
|
|
|
|
|
|
Dependency management
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Install or updating a new dependency
|
|
|
|
------------------------------------
|
|
|
|
```sh
|
|
|
|
go get -u github.com/example/dependency
|
|
|
|
# import github.com/example/dependency in go src code
|
|
|
|
godep save ./...
|
|
|
|
```
|
|
|
|
|
|
|
|
Commit all Godep/ modifications, including vendorized files.
|
|
|
|
|
|
|
|
Restoring dev environment dependencies
|
|
|
|
--------------------------------------
|
|
|
|
```sh
|
|
|
|
godep restore
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Compiling
|
|
|
|
=========
|
|
|
|
```sh
|
|
|
|
make
|
|
|
|
```
|