_type

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TBool

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

func NewBool

func NewBool(b ...bool) *TBool

func (*TBool) Clone

func (b *TBool) Clone() *TBool

func (*TBool) CompareSwap

func (b *TBool) CompareSwap(old, new bool) bool

func (*TBool) Set

func (b *TBool) Set(v bool) (old bool)

func (*TBool) Val

func (b *TBool) Val() bool

type TByte

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

func NewByte

func NewByte(value ...byte) *TByte

func (*TByte) Add

func (v *TByte) Add(delta byte) (new byte)

func (*TByte) Clone

func (v *TByte) Clone() *TByte

func (*TByte) CompareSwap

func (v *TByte) CompareSwap(old, new byte) bool

func (*TByte) Set

func (v *TByte) Set(value byte) (old byte)

func (*TByte) Val

func (v *TByte) Val() byte

type TBytes

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

func NewBytes

func NewBytes(value ...[]byte) *TBytes

func (*TBytes) Clone

func (v *TBytes) Clone() *TBytes

func (*TBytes) Set

func (v *TBytes) Set(value []byte) (old []byte)

func (*TBytes) Val

func (v *TBytes) Val() []byte

type TFloat32

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

func NewFloat32

func NewFloat32(value ...float32) *TFloat32

func (*TFloat32) Add

func (v *TFloat32) Add(delta float32) (new float32)

func (*TFloat32) Clone

func (v *TFloat32) Clone() *TFloat32

func (*TFloat32) CompareSwap

func (v *TFloat32) CompareSwap(old, new float32) bool

func (*TFloat32) Set

func (v *TFloat32) Set(value float32) (old float32)

func (*TFloat32) Val

func (v *TFloat32) Val() float32

type TFloat64

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

func NewFloat64

func NewFloat64(value ...float64) *TFloat64

func (*TFloat64) Add

func (v *TFloat64) Add(delta float64) (new float64)

func (*TFloat64) Clone

func (v *TFloat64) Clone() *TFloat64

func (*TFloat64) CompareSwap

func (v *TFloat64) CompareSwap(old, new float64) bool

func (*TFloat64) Set

func (v *TFloat64) Set(value float64) (old float64)

func (*TFloat64) Val

func (v *TFloat64) Val() float64

type TInt

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

func NewInt

func NewInt(value ...int) *TInt

func (*TInt) Add

func (v *TInt) Add(delta int) (new int)

func (*TInt) Clone

func (v *TInt) Clone() *TInt

func (*TInt) CompareSwap

func (v *TInt) CompareSwap(old, new int) bool

func (*TInt) Set

func (v *TInt) Set(value int) (old int)

func (*TInt) Val

func (v *TInt) Val() int

type TInt32

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

func NewInt32

func NewInt32(value ...int32) *TInt32

func (*TInt32) Add

func (v *TInt32) Add(delta int32) (new int32)

func (*TInt32) Clone

func (v *TInt32) Clone() *TInt32

func (*TInt32) CompareSwap

func (v *TInt32) CompareSwap(old, new int32) bool

func (*TInt32) Set

func (v *TInt32) Set(value int32) (old int32)

func (*TInt32) Val

func (v *TInt32) Val() int32

type TInt64

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

func NewInt64

func NewInt64(value ...int64) *TInt64

func (*TInt64) Add

func (v *TInt64) Add(delta int64) (new int64)

func (*TInt64) Clone

func (v *TInt64) Clone() *TInt64

func (*TInt64) CompareSwap

func (v *TInt64) CompareSwap(old, new int64) bool

func (*TInt64) Set

func (v *TInt64) Set(value int64) (old int64)

func (*TInt64) Val

func (v *TInt64) Val() int64

type TInterface

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

func NewInterface

func NewInterface(value ...interface{}) *TInterface

func (*TInterface) Clone

func (v *TInterface) Clone() *TInterface

func (*TInterface) Set

func (v *TInterface) Set(value interface{}) (old interface{})

func (*TInterface) String

func (v *TInterface) String() string

func (*TInterface) Val

func (v *TInterface) Val() interface{}

type TString

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

func NewString

func NewString(v ...string) *TString

func (*TString) Clone

func (s *TString) Clone() *TString

func (*TString) Set

func (s *TString) Set(v string) string

func (*TString) Val

func (s *TString) Val() string

type TUint

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

func NewUint

func NewUint(value ...uint) *TUint

func (*TUint) Add

func (v *TUint) Add(delta uint) (new uint)

func (*TUint) Clone

func (v *TUint) Clone() *TUint

func (*TUint) CompareSwap

func (v *TUint) CompareSwap(old, new uint) bool

func (*TUint) Set

func (v *TUint) Set(value uint) (old uint)

func (*TUint) Val

func (v *TUint) Val() uint

type TUint32

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

func NewUint32

func NewUint32(value ...uint32) *TUint32

func (*TUint32) Add

func (v *TUint32) Add(delta uint32) (new uint32)

func (*TUint32) Clone

func (v *TUint32) Clone() *TUint32

func (*TUint32) CompareSwap

func (v *TUint32) CompareSwap(old, new uint32) bool

func (*TUint32) Set

func (v *TUint32) Set(value uint32) (old uint32)

func (*TUint32) Val

func (v *TUint32) Val() uint32

type TUint64

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

func NewUint64

func NewUint64(value ...uint64) *TUint64

func (*TUint64) Add

func (v *TUint64) Add(delta uint64) (new uint64)

func (*TUint64) Clone

func (v *TUint64) Clone() *TUint64

func (*TUint64) CompareSwap

func (v *TUint64) CompareSwap(old, new uint64) bool

func (*TUint64) Set

func (v *TUint64) Set(value uint64) (old uint64)

func (*TUint64) Val

func (v *TUint64) Val() uint64

type TVar

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

func NewVar

func NewVar(value interface{}, unsafe ...bool) *TVar

func (*TVar) Assign

func (v *TVar) Assign(src *TVar)

func (*TVar) Bool

func (v *TVar) Bool() bool

func (*TVar) Bytes

func (v *TVar) Bytes() []byte

func (*TVar) Clone

func (v *TVar) Clone() *TVar

func (*TVar) Duration

func (v *TVar) Duration() time.Duration

func (*TVar) Float32

func (v *TVar) Float32() float32

func (*TVar) Float64

func (v *TVar) Float64() float64

func (*TVar) Floats

func (v *TVar) Floats() []float64

func (*TVar) Int

func (v *TVar) Int() int

func (*TVar) Int16

func (v *TVar) Int16() int16

func (*TVar) Int32

func (v *TVar) Int32() int32

func (*TVar) Int64

func (v *TVar) Int64() int64

func (*TVar) Int8

func (v *TVar) Int8() int8

func (*TVar) Interface

func (v *TVar) Interface() interface{}

func (*TVar) Interfaces

func (v *TVar) Interfaces() []interface{}

func (*TVar) Ints

func (v *TVar) Ints() []int

func (*TVar) IsNil

func (v *TVar) IsNil() bool

func (*TVar) IsSafe

func (v *TVar) IsSafe() bool

func (*TVar) Map

func (v *TVar) Map(tags ...string) map[string]interface{}

func (*TVar) MapDeep

func (v *TVar) MapDeep(tags ...string) map[string]interface{}

func (*TVar) Set

func (v *TVar) Set(val interface{}) (old interface{})

func (*TVar) String

func (v *TVar) String() string

func (*TVar) Strings

func (v *TVar) Strings() []string

func (*TVar) Struct

func (v *TVar) Struct(pointer interface{}, mapping ...map[string]string) error

func (*TVar) StructDeep

func (v *TVar) StructDeep(pointer interface{}, mapping ...map[string]string) error

func (*TVar) Structs

func (v *TVar) Structs(pointer interface{}, mapping ...map[string]string) (err error)

func (*TVar) StructsDeep

func (v *TVar) StructsDeep(pointer interface{}, mapping ...map[string]string) (err error)

func (*TVar) Time

func (v *TVar) Time(format ...string) time.Time

func (*TVar) Uint

func (v *TVar) Uint() uint

func (*TVar) Uint16

func (v *TVar) Uint16() uint16

func (*TVar) Uint32

func (v *TVar) Uint32() uint32

func (*TVar) Uint64

func (v *TVar) Uint64() uint64

func (*TVar) Uint8

func (v *TVar) Uint8() uint8

func (*TVar) Val

func (v *TVar) Val() interface{}

func (*TVar) XTime

func (v *TVar) XTime(format ...string) *xtime.Time

Jump to

Keyboard shortcuts

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