modules?
No — they don't
depends actually.. if you have a dependency X and it's located in the project root where you are using it, Gomod won't even add/track that dependency. If you are using a external depends X, then it has to be in GOPATH/src or github.com/bla/bla then, gomod will either pull from github or copy it from gopath/src into vendor folder in project root.
Обсуждают сегодня