Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/blog: improve modules tutorial with information on using the module #30998

Open
AndreKR opened this issue Mar 22, 2019 · 3 comments

Comments

Projects
None yet
4 participants
@AndreKR
Copy link

commented Mar 22, 2019

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.

@agnivade

This comment has been minimized.

Copy link
Member

commented Apr 1, 2019

@andybons

This comment has been minimized.

Copy link
Member

commented Apr 1, 2019

@andybons andybons added this to the Unreleased milestone Apr 1, 2019

@andybons andybons changed the title Improve modules tutorial with information on using the module blog: improve modules tutorial with information on using the module Apr 1, 2019

@tbpg

This comment has been minimized.

Copy link
Contributor

commented Apr 1, 2019

Thank you for the feedback! I think a good next post would be something like "Writing Go Modules" but we don't have a timeline for when that would be. The replace functionality is definitely worth some attention, so if it doesn't make sense as part of that post, we should include it in another.

@andybons andybons changed the title blog: improve modules tutorial with information on using the module x/blog: improve modules tutorial with information on using the module Apr 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.