-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generated code: always return typed value if present
Previously, RequestWith would ignore any return if an error was encountered. Now, RequestWith returns any value present even if there is an error -- basically a typed pass through. We also pipe the output through gofumpt twice now to ensure we get desired output: ref: mvdan/gofumpt#132
- Loading branch information
Showing
3 changed files
with
293 additions
and
277 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
Oops, something went wrong.