common

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compose

func Compose(param map[string]interface{}, tag string, input interface{})

func ExtractValue

func ExtractValue(input interface{}) (output []string)

func WrapErr

func WrapErr(err error, msg string) (errWithContext error)

func WrapfErr

func WrapfErr(err error, format string, a ...interface{}) (errWithContext error)

Types

type BigInt

type BigInt big.Int

func (*BigInt) Int

func (b *BigInt) Int() *big.Int

func (*BigInt) MarshalText

func (b *BigInt) MarshalText() (text []byte, err error)

func (*BigInt) UnmarshalText

func (b *BigInt) UnmarshalText(text []byte) (err error)

type M

type M map[string]interface{}

type Time

type Time time.Time

func (Time) MarshalText

func (t Time) MarshalText() (text []byte, err error)

func (Time) Time

func (t Time) Time() time.Time

func (*Time) UnmarshalText

func (t *Time) UnmarshalText(text []byte) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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