Started a new Go project, and want to use Gin web framework. So I added a dependency to my .go.yaml file for github.com/gin-gonic/gin. I get an error when running goat deps:
No .go.yaml found in [..]/.goat/deps/src/github.com/gin-gonic/gin
And no files for Gin get vendored.
My first thought is that, even if their is no .go.yaml file, shouldn't it still vendor the project?
My second thought was to look at Gin, where I discovered it is using the godep tool. It has some similarities to goat, but still works off the go workspace. But I was thinking it might be possible to read the GoDeps/GoDeps.json file to get the dependencies.
Started a new Go project, and want to use Gin web framework. So I added a dependency to my .go.yaml file for
github.com/gin-gonic/gin. I get an error when runninggoat deps:And no files for Gin get vendored.
My first thought is that, even if their is no
.go.yamlfile, shouldn't it still vendor the project?My second thought was to look at Gin, where I discovered it is using the godep tool. It has some similarities to goat, but still works off the go workspace. But I was thinking it might be possible to read the
GoDeps/GoDeps.jsonfile to get the dependencies.