Created
November 27, 2021 07:46
-
-
Save agusrichard/c8266d6bfd06f8a2da9782b5d65e6868 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
result1, err := functionOne() | |
if err != nil { | |
return errors.Wrap(err, "functionOne") | |
} | |
result2, err := functionTwo() | |
if err != nil { | |
return errors.Wrap(err, "functiontwo") | |
} | |
// ... more function calling in here | |
return result, nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment