param

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes added in v0.1.6

type Bytes struct {
	// contains filtered or unexported fields
}

func NewBytes added in v0.1.6

func NewBytes(params *Copy) *Bytes

func (*Bytes) Internal added in v0.1.6

func (b *Bytes) Internal(ft reflect.Type, tt reflect.Type, from any) (to any, err error)

func (*Bytes) Protobuf added in v0.1.6

func (b *Bytes) Protobuf(ft reflect.Type, tt reflect.Type, from any) (to any, err error)

type Copy added in v0.0.9

type Copy struct {
	Zero     bool
	Squash   bool
	Tag      string
	Unused   bool
	Unset    bool
	Untagged bool
	Mapper   callback.Mapper

	From any
	To   any

	Hooks  []mapstructure.DecodeHookFunc
	Weakly bool
}

func NewCopy added in v0.0.9

func NewCopy() (copy *Copy)

type Duration added in v0.1.5

type Duration struct {
	// contains filtered or unexported fields
}

func NewDuration added in v0.1.5

func NewDuration(params *Copy) *Duration

func (*Duration) Internal added in v0.1.5

func (d *Duration) Internal(ft reflect.Type, tt reflect.Type, from any) (to any, err error)

func (*Duration) Protobuf added in v0.1.5

func (d *Duration) Protobuf(ft reflect.Type, tt reflect.Type, from any) (to any, err error)

type Time added in v0.1.0

type Time struct {
	// contains filtered or unexported fields
}

func NewTime added in v0.1.0

func NewTime(params *Copy) *Time

func (*Time) Internal added in v0.1.5

func (t *Time) Internal(ft reflect.Type, tt reflect.Type, from any) (to any, err error)

func (*Time) Protobuf added in v0.1.5

func (t *Time) Protobuf(ft reflect.Type, tt reflect.Type, from any) (to any, err error)

Jump to

Keyboard shortcuts

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