package
module
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jul 20, 2026
License: MIT
Opens a new window with license information.
Imports: 6
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.
Error returns a new Attr with the given key and error 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.
SentryLevel returns a new Attr with the given key and sentry.Level value.
String returns a new Attr with the given key and string value.
Uint64 returns a new Attr with the given key and uint64 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.