utils

package
v0.0.0-...-b509d7c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PoT

type PoT struct{}

func New

func New() *PoT

func (*PoT) Contains

func (u *PoT) Contains(k interface{}, d ...interface{}) bool

func (*PoT) Fprintf

func (u *PoT) Fprintf(writer io.Writer, format string, d ...interface{})

func (*PoT) GeTUintPtrFuncPC

func (u *PoT) GeTUintPtrFuncPC() (interface{}, interface{}, interface{})

func (*PoT) IsEmpty

func (u *PoT) IsEmpty(d interface{}) bool

func (*PoT) IsInT

func (u *PoT) IsInT(d interface{}) bool

func (*PoT) IsInT64

func (u *PoT) IsInT64(d interface{}) bool

func (*PoT) IsString

func (u *PoT) IsString(d interface{}) bool

func (*PoT) MergeH

func (u *PoT) MergeH(d ...*data.H) *data.H

func (*PoT) NumRandom

func (u *PoT) NumRandom(max int) int

func (*PoT) RandString

func (u *PoT) RandString(size int) string

func (*PoT) ReflectContains

func (u *PoT) ReflectContains(d ...interface{}) bool

func (*PoT) SetTimeLocation

func (u *PoT) SetTimeLocation(d string) (*time.Location, error)

func (*PoT) Sprintf

func (u *PoT) Sprintf(format string, d ...interface{}) string

func (*PoT) ToJson

func (u *PoT) ToJson(d interface{}) (interface{}, error)

func (*PoT) ToMapInterface

func (u *PoT) ToMapInterface(d map[string]interface{}) map[interface{}]interface{}

func (*PoT) ToStruct

func (u *PoT) ToStruct(d interface{}, res interface{}) error

Jump to

Keyboard shortcuts

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