Recursive dependencies vendoring?

32 views
Skip to first unread message

bklau....@gmail.com

unread,
Mar 18, 2020, 11:15:09 AM3/18/20
to golang-nuts
Hi :
Let's say main.go is using a dependency A and A in turn using B.
When I do `go mod vendoring` on main package, i see that `vendor` dir contains A artifacts plus its go.mod and go.sum files BUT
I don't see the dependencies of A like B being vendoring automatically.
Furthermore, when I attempt to build main.go, i see that B is being downloaded.
Isn't this defeating the purpose of vendoring? or am I missing or overlooking something?

I'm  using Go 1.13

Thanks,
BK 
Reply all
Reply to author
Forward
0 new messages