Skip to content

Vendoring repos lacking .go.yaml #31

@trans

Description

@trans

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions