slogattrs

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package slogattrs contains shared slog attribute conversion helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(attrs map[string]any, groups []string, attr slog.Attr)

Add flattens attr into attrs, preserving slog group boundaries with dotted keys.

func Copy

func Copy(source map[string]any) map[string]any

Copy returns a shallow copy of source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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