Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
proposal: Better dependency management #41510
Even after the introduction of Go modules, the dependency management is complex and not so developer friendly. For beginners it takes a good amount of time to understand what's going on behind the scene.
Some of this may be because of lack of well written documentation about dependency management.
go get github.com/gofiber/fiber/v2 cannot find package "github.com/gofiber/fiber/v2" in any of: /usr/local/go/src/github.com/gofiber/fiber/v2 (from $GOROOT) /Users/shirshendubhowmick/go/src/github.com/gofiber/fiber/v2 (from $GOPATH)
I feel like there is a steep learning curve for go dependency management, which can be made easy with little changes in go and it's documentation.
Edit: Adding some suggestion to deal with the problems I mentioned above
This is very high level solution proposal, happy to discuss more on it and also pros & cons, gotchas, bottlenecks etc.
Proposals need to propose a very specific change to Go, and be detailed in doing so. You seem to be proposing a very large set of changes (entirely replacing modules?), but I don't see what you're actually suggesting that we do. The proposal reads more like a list of problems than any proposed changes.
Personally, I think this is better suited for one of the forums like golang-nuts. A proposal should only be filed once you have a very specific suggestion in mind.