fixtures_test

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstInt added in v0.0.2

type ConstInt int
const (
	ConstInt1 ConstInt = 1
)

type ConstStr added in v0.0.2

type ConstStr string
const (
	ConstStr1 ConstStr = "str_val"
)

type Dep

type Dep struct {
	Int           int
	Dep1          Dep1
	Dep2Opt       *Dep2
	Dep3Array     []Dep3
	Dep4Map       map[string]Dep4
	Dep4MapPtr    map[string]*Dep4
	DepWithDep    Dep6
	ConstStr      ConstStr
	ConstInt      ConstInt
	ConstStrArray []ConstStr
	ConstStrMap   map[string]ConstStr
	ConstStrPtr   *ConstStr
	Error         error
	Errors        []error
}

func (*Dep) MarshalLogObject

func (m *Dep) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Dep1

type Dep1 struct {
	Str string
}

func (*Dep1) MarshalLogObject

func (m *Dep1) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Dep2

type Dep2 struct {
	Str string
}

func (*Dep2) MarshalLogObject

func (m *Dep2) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Dep3

type Dep3 struct {
	Str string
}

func (*Dep3) MarshalLogObject

func (m *Dep3) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Dep4

type Dep4 struct {
	Str string
}

func (*Dep4) MarshalLogObject

func (m *Dep4) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Dep5

type Dep5 struct {
	Str string
}

func (*Dep5) MarshalLogObject

func (m *Dep5) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Dep6

type Dep6 struct {
	Dep5 Dep5
}

func (*Dep6) MarshalLogObject

func (m *Dep6) MarshalLogObject(enc zapcore.ObjectEncoder) error

type Optional

type Optional struct {
	Int int
}

func (*Optional) MarshalLogObject

func (m *Optional) MarshalLogObject(enc zapcore.ObjectEncoder) error

type OptionalSlice

type OptionalSlice []Optional

skip for now in the generation

type Primitives

type Primitives struct {
	// comment here
	ByteSlice      []byte
	Int            int
	Int8           int8
	Int16          int16
	Int32          int32
	Int64          int64
	Uint           uint
	Uint8          uint8
	Uint16         uint16
	Uint32         uint32
	Uint64         uint64
	Float32        float32
	Float64        float64
	Bool           bool
	String         string
	Map            map[string]string
	MapInterface   map[string]interface{}
	InterfaceSlice []interface{}
	Interface      interface{}
	Slice          []int
	MapWithNulls   map[string]*string
	Ptr            *int
	Secured        string `secured:"true"`
}

func (*Primitives) MarshalLogObject

func (m *Primitives) MarshalLogObject(enc zapcore.ObjectEncoder) error

type StructV1

type StructV1 struct {
	Dep1
	Dep      Dep
	Optional *Optional
}

func (*StructV1) MarshalLogObject

func (m *StructV1) MarshalLogObject(enc zapcore.ObjectEncoder) error

Jump to

Keyboard shortcuts

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