Created
July 4, 2018 08:55
Revisions
-
roylee0704 created this gist
Jul 4, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ 1. To download vgo ``` $ go get -u golang.org/x/vgo ``` 2. To build lockfile ``` $ vgo build ./... ``` 3. To install packages into vendor dir ```sh $ vgo mod -vendor ```