meta

package
v0.0.0-...-152c253 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapZapMeta

func WrapZapMeta(err error, metas ...Field) (fields []zap.Field)

WrapZapMeta wrap meta to zap fields

Types

type Field

type Field interface {
	Key() string
	Value() any
}

Field key-value

func NewField

func NewField(key string, value any) Field

NewField create meat

Jump to

Keyboard shortcuts

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