Skip to content

Clarify errs.Join nil behavior and update zap example#35

Merged
spiegel-im-spiegel merged 1 commit into
masterfrom
docs-and-example-join-nil-behavior
May 9, 2026
Merged

Clarify errs.Join nil behavior and update zap example#35
spiegel-im-spiegel merged 1 commit into
masterfrom
docs-and-example-join-nil-behavior

Conversation

@spiegel-im-spiegel

Copy link
Copy Markdown
Member

Summary

  • document errs.Join nil-filtering behavior in the Join function comment
  • add the same behavior note to README edge-case section
  • add API stability note for errs.Join behavior to copilot instructions
  • update zapobject example to include deferred file.Close errors in the return path using errs.Join

Validation

  • task test
  • task govulncheck

All checks passed locally.

@spiegel-im-spiegel spiegel-im-spiegel merged commit 910d22d into master May 9, 2026
5 checks passed
@spiegel-im-spiegel spiegel-im-spiegel deleted the docs-and-example-join-nil-behavior branch May 9, 2026 03:00
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.

1 participant