package
Version:
v0.0.148
Opens a new window with list of versions in this module.
Published: Jul 30, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stdctx provides functions for putting and getting context values that we use commonly.
Log returns a logger from the context or panics if none is available.
Logger requires the calling code to behave differently if the logger is not present.
MaybeLog returns a logger from the context, or a nop logger if it's not present.
WithLogger add a zap logger to the context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.