-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add
go.work
in gitignore (#13100)
* build: add `go.work` in gitignore * markdownlint
- Loading branch information
1 parent
783f597
commit 2c527d0
Showing
8 changed files
with
2,575 additions
and
2,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ buf-stamp | |
artifacts | ||
|
||
# Go | ||
go.work | ||
go.work.sum | ||
|
||
# Data - ideally these don't exist | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
* [Requesting Reviews](#requesting-reviews) | ||
* [Updating Documentation](#updating-documentation) | ||
* [Dependencies](#dependencies) | ||
* [`go.work`](#gowork) | ||
* [Protobuf](#protobuf) | ||
* [Branching Model and Release](#branching-model-and-release) | ||
* [PR Targeting](#pr-targeting) | ||
|
@@ -65,7 +66,7 @@ To synchronize we have few major meetings: | |
* Cosmos Community SDK Development Call on the last Wednesday of every month at 17:00 UTC. | ||
* Cosmos Roadmap Prioritization every 4 weeks on Tuesday at 15:00 UTC (limited participation). | ||
|
||
If you would like to join one of those calls, then please contact us on [Discord](https://discord.com/invite/cosmosnetwork) or reach out directly to Cory Levinson from Regen Network ([email protected]). | ||
If you would like to join one of those calls, then please contact us on [Discord](https://discord.com/invite/cosmosnetwork) or reach out directly to Marko (@marbar3778). | ||
|
||
## Architecture Decision Records (ADR) | ||
|
||
|
@@ -176,6 +177,13 @@ get away with telling people they can just `go get` our software. | |
Since some dependencies are not under our control, a third party may break our | ||
build, in which case we can fall back on `go mod tidy -v`. | ||
|
||
### `go.work` | ||
|
||
The Cosmos SDK is a multi-module repo, for this reason, the use of a `go.work` file is handy. | ||
We provide a [`go.work.example`](./go.work.example) that contains all the modules used in the SDK. | ||
Do note that contributions modifying multiple Go modules should be submitted as separate PRs, this allows us to tag the changes and avoid `replace`s. | ||
For consistency between our CI and the local tests, `GOWORK=off` is set in the `Makefile`. This means that the `go.work` file is not used when using `make test` or any other `make` command. | ||
|
||
## Protobuf | ||
|
||
We use [Protocol Buffers](https://developers.google.com/protocol-buffers) along with [gogoproto](https://github.com/gogo/protobuf) to generate code for use in Cosmos SDK. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters