x/website/_content/doc/modules: invalid require directive example #70747
Labels
Documentation
Issues describing a change to documentation.
NeedsFix
The path to resolution is known, but the work has not been done.
website
Milestone
What is the URL of the page with the issue?
https://go.dev/doc/modules/managing-source#multiple-module-source
What is your user agent?
n/a
Screenshot
What did you do?
n/a
What did you expect to see?
The doc describes the setup of a mono-repository with multiple modules that each have their own version.
In the example it says that module
module1
can be versioned by pushing the version tagmodule1/v1.2.3
, but then incorrectly states the the require directive for that module and that version needs to beexample.com/mymodules/module1 module1/v1.2.3
, whereas instead it needs to beexample.com/mymodules/module1 v1.2.3
.+ Module path as given in a user’s require directive: example.com/mymodules/module1 v1.2.3
What did you see instead?
- Module path as given in a user’s require directive: example.com/mymodules/module1 module1/v1.2.3
The text was updated successfully, but these errors were encountered: