x

module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2021 License: Apache-2.0

README

w6d-io/x

Test codecov GitHub report Current release GitHub go.mod Go version

Shared libraries used in the Wildcard ecosystem. Use at your own risk

Directories

Path Synopsis
k8x module
Package logx provides tools to handle log WithName provides a new logr.Logger: ctx := context.WithValue(c.Request.Context(), "correlation_id", correlationID) ctx = context.WithValue(ctx, "ipaddress", ip) ctx = context.WithValue(ctx, "kind", "http") log := logx.WithName(ctx, "Test") GetLogValues returns a keysAndValues model compatible with logrLogger.
Package logx provides tools to handle log WithName provides a new logr.Logger: ctx := context.WithValue(c.Request.Context(), "correlation_id", correlationID) ctx = context.WithValue(ctx, "ipaddress", ip) ctx = context.WithValue(ctx, "kind", "http") log := logx.WithName(ctx, "Test") GetLogValues returns a keysAndValues model compatible with logrLogger.
redisx module
toolx module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL