mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Fix minor typo
parent
ea7ce063d3
commit
c7146b3d80
@ -760,7 +760,7 @@ The `replace` directive allows you to supply another import path that might be a
|
||||
You can also reference branches, for example:
|
||||
* `replace example.com/some/dependency => example.com/some/dependency-fork master`
|
||||
|
||||
One sample use case is if you need to fix or investigate something in a dependency, you can have a local fork and add the something like the following in your top-level `go.mod`:
|
||||
One sample use case is if you need to fix or investigate something in a dependency, you can have a local fork and add something like the following in your top-level `go.mod`:
|
||||
* `replace example.com/original/import/path => /your/forked/import/path`
|
||||
|
||||
`replace` also can be used to inform the go tooling of the relative or absolute on-disk location of modules in a multi-module project, such as:
|
||||
|
Loading…
x
Reference in New Issue
Block a user