Godep restore - warning


When I run the command godep restore, I got the following warning, how can I fix this?

godep: WARNING: Godep workspaces (./Godeps/_workspace) are deprecated and support for them will be removed when go1.8 is released.
godep: WARNING: Go version (go1.6) & $GO15VENDOREXPERIMENT= wants to enable the vendor experiment, but disabling because a Godep workspace (Godeps/_workspace) exists


I did not test it myself, but the section “Migrating to vendor/” of the godep readme seems to have all the steps for migrating to the vendor folder.

BTW, the second warning is not quite accurate, as the vendor folder is not an experiment anymore.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.