Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1916

Migrate golang projects from using dep to go modules for dependency management

    XMLWordPrintable

    Details

      Description

      Go modules as a dependency manager seems to have won and will be enabled by default in newer golang versions.

      Switch to using go modules, using the automation that already exists:

      https://blog.golang.org/migrating-to-go-modules

      More docs:

      Recommended `make dep` invocation to update the modules, tidy up dependencies, and verify them:

      dep:
      	GO111MODULE=off go get -v github.com/pre_go_mod_code
      	GO111MODULE=on go mod download all
      	GO111MODULE=on go mod tidy
      	GO111MODULE=on go mod verify
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              zdw Zack Williams
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes