Skip to content

Commit 7dacae7

Browse files
committed
[FAB-8971] Update documentation to reflect usage of dep
Fabric developers should now use dep instead of govendor. This change was made in [FAB-7083]. This CR updates the documentation to match that change. Change-Id: I4e8139fac3b6ff5511db86cd92705a05de8b8024 Signed-off-by: Sheehan Anderson <sranderson@gmail.com>
1 parent 3c30765 commit 7dacae7

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

docs/source/Style-guides/go-style.rst

+2-21
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,13 @@ generate/update the respective ``.pb.go`` files.
2626
Adding or updating Go packages
2727
------------------------------
2828

29-
Hyperledger Fabric uses Govendor for package
29+
Hyperledger Fabric uses Go Vendoring for package
3030
management. This means that all required packages reside in the
3131
``$GOPATH/src/github.com/hyperledger/fabric/vendor`` folder. Go will use
3232
packages in this folder instead of the GOPATH when the ``go install`` or
3333
``go build`` commands are executed. To manage the packages in the
3434
``vendor`` folder, we use
35-
`Govendor <https://github.com/kardianos/govendor>`__, which is installed
36-
in the Vagrant environment. The following commands can be used for
37-
package management:
38-
39-
::
40-
41-
# Add external packages.
42-
govendor add +external
43-
44-
# Add a specific package.
45-
govendor add github.com/kardianos/osext
46-
47-
# Update vendor packages.
48-
govendor update +vendor
49-
50-
# Revert back to normal GOPATH packages.
51-
govendor remove +vendor
52-
53-
# List package.
54-
govendor list
35+
`dep <https://golang.github.io/dep/>`__.
5536

5637
.. Licensed under Creative Commons Attribution 4.0 International License
5738
https://creativecommons.org/licenses/by/4.0/

0 commit comments

Comments
 (0)