package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 7, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
Attr represents a key-value pair.
Bool returns a new Attr with the given key and bool value.
Float64 returns a new Attr with the given key and float64 value.
Int returns a new Attr with the given key and int value.
Int64 returns a new Attr with the given key and int64 value.
String returns a new Attr with the given key and string value.
KV returns the key and value.
SentryAttr returns a sentry-go/attribute.Builder representation of the Attr.
SlogAttr returns a slog.Attr representation of the Attr.
String implements fmt.Stringer.
It returns the string representation of the Attr in the format "key=value".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.