package
0.0.0-20241208190318-80fc79a84806
Repository: https://github.com/grevych/gobox.git
Documentation: pkg.go.dev
# Functions
Err is a convenience method for logging.
NewErrorInfo converts an error into ErrorInfo meant for logging.
NewErrorInfoFromPanic converts the panic result into an appropriate error info for logging.
# Structs
Durations holds the various times in seconds.
ErrorInfo tracks the error info for logging purposes.
HTTPRequest tracks HTTP request related information.
LazyErrInfo holds an unserialized error and marshals it on-demand.
NetworkRequest tracks network request related information.
Times holds the actual times and also provides a convenient way to calculate the associated durations.