package
Version:
v0.0.0-...-b88c69b
Opens a new window with list of versions in this module.
Published: Oct 5, 2024
License: ISC
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 18
Opens a new window with list of known importers.
Documentation
¶
Package xdefer implements an extremely useful function, Errorf, to annotate all errors returned from a function transparently.
Errorf makes it easy to defer annotate an error for all return paths in a function.
See the tests for how it's used.
Pass s == "" to only annotate the location of the return.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.