internal

package
v2.0.0-alpha.4-fix Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrStopIteration = errors.New("iteration stop")

Functions

func Compare

func Compare(v1 interface{}, v2 interface{}) int

func Convert

func Convert(m map[string]interface{}, v interface{}) error

func Decode

func Decode(data []byte, m *map[string]interface{}) error

func Encode

func Encode(v map[string]interface{}) ([]byte, error)

func Normalize

func Normalize(value interface{}) (interface{}, error)

func OrderedCode

func OrderedCode(buf []byte, v interface{}) ([]byte, error)

func TypeId

func TypeId(v interface{}) int

func TypeName

func TypeName(v interface{}) string

Types

type LocalizedTime

type LocalizedTime struct {
	time.Time
}

func (*LocalizedTime) MarshalMsgpack

func (tm *LocalizedTime) MarshalMsgpack() ([]byte, error)

func (*LocalizedTime) UnmarshalMsgpack

func (tm *LocalizedTime) UnmarshalMsgpack(b []byte) error

type Value

type Value struct {
	V interface{}
}

Jump to

Keyboard shortcuts

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