Skip to content

Instantly share code, notes, and snippets.

@roylee0704
Created July 4, 2018 08:55

Revisions

  1. roylee0704 created this gist Jul 4, 2018.
    15 changes: 15 additions & 0 deletions vgo.md
    Original 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
    ```