Skip to content

add check call func with nil-value error #10

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

Merged
merged 5 commits into from
Mar 31, 2025
Merged

Conversation

alingse
Copy link
Owner

@alingse alingse commented Mar 26, 2025

err := Do()
if err != nil {
    return err
}

err2 := Do2()
if err2 != nil {
     return fmt.Errorf("got error %w+", err)
}

alingse added 2 commits March 29, 2025 16:58
Signed-off-by: alingse <alingse@foxmail.com>
@alingse alingse changed the title Draft: add check call func with nil-value error add check call func with nil-value error Mar 31, 2025
@alingse alingse self-assigned this Mar 31, 2025
@alingse alingse merged commit cbb2480 into main Mar 31, 2025
3146 of 3177 checks passed
@ccoVeille
Copy link
Contributor

ccoVeille commented Apr 3, 2025

This one will be a game changer.

Thanks again

@alingse alingse deleted the add-check-errors-func branch April 3, 2025 15:46
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