There is a new modules tutorial on blog.golang.org.
It shows how to create a module, add subdependencies, update subdependencies, etc. Unfortunately one important point is missing: How do I use the newly created module?
I think this is especially important because at this point that is kind of the only thing about modules that is unclear to me. How do I point from one module to another? With replace? Where do I put this replace? It's local to my machine after all, so it doesn't belong in the repository.
There is a new modules tutorial on blog.golang.org.
It shows how to create a module, add subdependencies, update subdependencies, etc. Unfortunately one important point is missing: How do I use the newly created module?
I think this is especially important because at this point that is kind of the only thing about modules that is unclear to me. How do I point from one module to another? With
replace? Where do I put thisreplace? It's local to my machine after all, so it doesn't belong in the repository.