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

Go code cleanup #1148

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Go code cleanup #1148

merged 1 commit into from
Sep 27, 2024

Conversation

anderseknert
Copy link
Member

  • Use short form if err := ...; err != nil { statements where applicable.
  • Extract some of the larger raw strings out of tests and into testdata

- Use short form `if err := ...; err != nil {` statements where applicable.
- Extract some of the larger raw strings out of tests and into testdata

Signed-off-by: Anders Eknert <anders@styra.com>
@anderseknert anderseknert merged commit e205cd9 into main Sep 27, 2024
4 checks passed
@anderseknert anderseknert deleted the less-go branch September 27, 2024 16:11
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
- Use short form `if err := ...; err != nil {` statements where applicable.
- Extract some of the larger raw strings out of tests and into testdata

Signed-off-by: Anders Eknert <anders@styra.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants