bytesx

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrJSONTransform = errors.New("error while transform to json")
)

Functions

func AppendNewLine

func AppendNewLine(p []byte) ([]byte, error)

func Identity

func Identity(b []byte) ([]byte, error)

func StripColor

func StripColor(p []byte) ([]byte, error)

Types

type TransformFunc

type TransformFunc func([]byte) ([]byte, error)

func ToJSONLogFormat

func ToJSONLogFormat(level, action string) TransformFunc

Jump to

Keyboard shortcuts

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