Documentation
¶
Index ¶
- Variables
- func CamelStrings(ctx context.Context, prefix string) map[string]string
- func IsBlank(actual Valuer) bool
- func IsEqual(actual Valuer, expected string) bool
- func SnakeStrings(ctx context.Context, prefix string) map[string]string
- func Strings(ctx context.Context, prefix string, converter Converter) map[string]string
- func ValueOrBlank(s Valuer) string
- func WithAttribute(ctx context.Context, key string, value Valuer) context.Context
- type Converter
- type Redacted
- type String
- type Valuer
Constants ¶
This section is empty.
Variables ¶
View Source
var NoneConverter = func(s string) string { return s }
NoneConverter for meta.
Functions ¶
func CamelStrings ¶ added in v1.160.0
CamelStrings for meta.
func SnakeStrings ¶ added in v1.160.0
SnakeStrings for meta.
Types ¶
type Redacted ¶ added in v1.145.2
type Redacted string
Redacted for meta.
type String ¶ added in v1.145.2
type String string
String for meta.
Click to show internal directories.
Click to hide internal directories.