power

package
v2.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool 复制 bool 对象,并返回复制体的指针

func Float32

func Float32(f float32) *float32

Float32 复制 float32 对象,并返回复制体的指针

func Float64

func Float64(f float64) *float64

Float64 复制 float64 对象,并返回复制体的指针

func Int

func Int(i int) *int

Int 复制 int 对象,并返回复制体的指针

func Int32

func Int32(i int32) *int32

Int32 复制 int64 对象,并返回复制体的指针

func Int64

func Int64(i int64) *int64

Int64 复制 int64 对象,并返回复制体的指针

func PowerHashMapToObjectHashMap

func PowerHashMapToObjectHashMap(obj *HashMap) (newMap *object.HashMap, err error)

func PowerStringMapToObjectStringMap

func PowerStringMapToObjectStringMap(obj *StringMap) (newMap *object.StringMap, err error)

func String

func String(s string) *string

String 复制 string 对象,并返回复制体的指针

func Time

func Time(t time.Time) *time.Time

Time 复制 time.Time 对象,并返回复制体的指针

Types

type HashMap

type HashMap object.HashMap

func HashMapToPower

func HashMapToPower(obj *object.HashMap) (newMap *HashMap, err error)

------------------------------- Conversion ---------------------------------------

func MergeHashMap

func MergeHashMap(toMap *HashMap, subMaps ...*HashMap) *HashMap

func (*HashMap) ToHashMap

func (obj *HashMap) ToHashMap() *object.HashMap

type RequestDownload

type RequestDownload response.RequestDownload

type StringMap

type StringMap object.StringMap

func StringMapToPower

func StringMapToPower(obj interface{}) (newMap *StringMap, err error)

func (*StringMap) ToStringMap

func (obj *StringMap) ToStringMap() *object.StringMap

Jump to

Keyboard shortcuts

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