utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bools

type Bools []bool

Bools proto: bool

func (Bools) MarshalLogArray

func (bs Bools) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type ByteStringsArray

type ByteStringsArray [][]byte

ByteStringsArray proto: bytes

func (ByteStringsArray) MarshalLogArray

func (bss ByteStringsArray) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Float32s

type Float32s []float32

Float32s proto: float

func (Float32s) MarshalLogArray

func (nums Float32s) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Float64s

type Float64s []float64

Float64s proto: double

func (Float64s) MarshalLogArray

func (nums Float64s) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Int32s

type Int32s []int32

Int32s proto: int32 / sint32 / sfixed32

func (Int32s) MarshalLogArray

func (nums Int32s) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Int64s

type Int64s []int64

Int64s proto: int64 / sint64 / sfixed64

func (Int64s) MarshalLogArray

func (nums Int64s) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Interfaces

type Interfaces []interface{}

Interfaces for slower but working types

func (Interfaces) MarshalLogArray

func (is Interfaces) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Objects

type Objects []zapcore.ObjectMarshaler

Objects proto: message

func (Objects) MarshalLogArray

func (os Objects) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type StringArray

type StringArray []string

StringArray proto: string

func (StringArray) MarshalLogArray

func (ss StringArray) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Stringers

type Stringers []fmt.Stringer

Stringers proto: enum

func (Stringers) MarshalLogArray

func (ss Stringers) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Uint32s

type Uint32s []uint32

Uint32s proto: uint32 / fixed32

func (Uint32s) MarshalLogArray

func (nums Uint32s) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

type Uint64s

type Uint64s []uint64

Uint64s proto: uint64 / fixed64

func (Uint64s) MarshalLogArray

func (nums Uint64s) MarshalLogArray(arr zapcore.ArrayEncoder) error

MarshalLogArray conforms to zap ArrayMarshaler

Jump to

Keyboard shortcuts

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