Golang package Management glide installation package error

my project package was originally placed under GOPATH, and then I learned to use glide today. After installing glide, I deleted the package used in GOPATH first. (to see the effect)

the project directory structure is as follows

clipboard.png

glide init
glide.yml

 

it is not clear which path he said last, which path did he refer to?
system is win7, go version 1.8.4

Mar.09,2021

try glide init,


glide is not recommended. This tool has not been updated for a long time, and we have encountered the problem of wrong package version selection. It is recommended to use dep

.
Menu