docs: update go module link (#22037)
This commit is contained in:
parent
0102077fb2
commit
fc28210a72
@ -70,7 +70,7 @@ clear improvements to be made or to remove legacy dependencies (for instance on
|
||||
amino or gogo proto), as long the old package attempts
|
||||
to avoid API breakage with aliases and wrappers
|
||||
* care should be taken when simply trying to turn an existing package into a
|
||||
new go module: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.
|
||||
new go module: https://go.dev/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.
|
||||
In general, it seems safer to just create a new module path (appending v2, v3, etc.
|
||||
if necessary), rather than trying to make an old package a new module.
|
||||
|
||||
|
||||
@ -275,7 +275,7 @@ https://github.com/cosmos/gaia/blob/26ae7c2/cmd/gaiad/cmd/root.go#L39-L80
|
||||
|
||||
## Dependencies and Makefile
|
||||
|
||||
This section is optional, as developers are free to choose their dependency manager and project building method. That said, the current most used framework for versioning control is [`go.mod`](https://github.com/golang/go/wiki/Modules). It ensures each of the libraries used throughout the application are imported with the correct version.
|
||||
This section is optional, as developers are free to choose their dependency manager and project building method. That said, the current most used framework for versioning control is [`go.mod`](https://go.dev/wiki/Modules). It ensures each of the libraries used throughout the application are imported with the correct version.
|
||||
|
||||
The following is the `go.mod` of the [Cosmos Hub](https://github.com/cosmos/gaia), provided as an example.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user