Help us shape the future of Go! Take the 2026 Go Developer Survey

abiu

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ABiuType added in v1.0.3

type ABiuType interface {
	String() string

	SetValue(v interface{}) error

	Value() interface{}

	ValuePtr() interface{}
}

type Boolean added in v1.0.2

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

func NewBoolean added in v1.0.2

func NewBoolean(value bool) *Boolean

func (*Boolean) MarshalJSON added in v1.0.2

func (number *Boolean) MarshalJSON() ([]byte, error)

-------------------------------------------------------

func (*Boolean) SetValue added in v1.0.2

func (number *Boolean) SetValue(v interface{}) error

-------------------------------------------------------

func (*Boolean) String added in v1.0.2

func (number *Boolean) String() string

func (*Boolean) UnmarshalJSON added in v1.0.2

func (number *Boolean) UnmarshalJSON(b []byte) error

func (*Boolean) Value added in v1.0.2

func (number *Boolean) Value() interface{}

func (*Boolean) ValuePtr added in v1.0.2

func (number *Boolean) ValuePtr() interface{}

type Byte

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

func NewByte

func NewByte(value byte) *Byte

func (*Byte) IsZero

func (number *Byte) IsZero() bool

func (*Byte) MarshalJSON

func (number *Byte) MarshalJSON() ([]byte, error)

-------------------------------------------------------

func (*Byte) SetValue

func (number *Byte) SetValue(v interface{}) error

-------------------------------------------------------

func (*Byte) String added in v1.0.2

func (number *Byte) String() string

func (*Byte) UnmarshalJSON

func (number *Byte) UnmarshalJSON(b []byte) error

func (*Byte) Value

func (number *Byte) Value() interface{}

func (*Byte) ValuePtr

func (number *Byte) ValuePtr() interface{}

type Date added in v1.0.2

type Date struct {
	Format DateFormat
	// contains filtered or unexported fields
}

func CurrentDate added in v1.0.2

func CurrentDate() *Date

func NewDate added in v1.0.2

func NewDate(value time.Time) *Date

func (*Date) MarshalJSON added in v1.0.2

func (date *Date) MarshalJSON() ([]byte, error)

-------------------------------------------------------

func (*Date) SetValue added in v1.0.2

func (date *Date) SetValue(v interface{}) error

-------------------------------------------------------

func (*Date) String added in v1.0.2

func (date *Date) String() string

func (*Date) UnmarshalJSON added in v1.0.2

func (date *Date) UnmarshalJSON(b []byte) error

func (*Date) Value added in v1.0.2

func (date *Date) Value() interface{}

func (*Date) ValuePtr added in v1.0.2

func (date *Date) ValuePtr() interface{}

type DateFormat added in v1.0.2

type DateFormat int8
const (
	DateTime DateFormat = iota
	DateOnly
	TimeOnly
	Timestamp
)

type Double added in v1.0.2

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

func NewDouble added in v1.0.2

func NewDouble(value float64) *Double

func (*Double) IsZero added in v1.0.2

func (number *Double) IsZero() bool

func (*Double) MarshalJSON added in v1.0.2

func (number *Double) MarshalJSON() ([]byte, error)

func (*Double) SetValue added in v1.0.2

func (number *Double) SetValue(v interface{}) error

-------------------------------------------------------

func (*Double) String added in v1.0.2

func (number *Double) String() string

func (*Double) UnmarshalJSON added in v1.0.2

func (number *Double) UnmarshalJSON(b []byte) error

func (*Double) Value added in v1.0.2

func (number *Double) Value() interface{}

func (*Double) ValuePtr added in v1.0.2

func (number *Double) ValuePtr() interface{}

type Float added in v1.0.2

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

func NewFloat added in v1.0.2

func NewFloat(value float32) *Float

func (*Float) IsZero added in v1.0.2

func (number *Float) IsZero() bool

func (*Float) MarshalJSON added in v1.0.2

func (number *Float) MarshalJSON() ([]byte, error)

func (*Float) SetValue added in v1.0.2

func (number *Float) SetValue(v interface{}) error

-------------------------------------------------------

func (*Float) String added in v1.0.2

func (number *Float) String() string

func (*Float) UnmarshalJSON added in v1.0.2

func (number *Float) UnmarshalJSON(b []byte) error

func (*Float) Value added in v1.0.2

func (number *Float) Value() interface{}

func (*Float) ValuePtr added in v1.0.2

func (number *Float) ValuePtr() interface{}

type Int

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

func NewInt

func NewInt(value int) *Int

func (*Int) IsZero

func (number *Int) IsZero() bool

func (*Int) MarshalJSON

func (number *Int) MarshalJSON() ([]byte, error)

func (*Int) SetValue

func (number *Int) SetValue(v interface{}) error

-------------------------------------------------------

func (*Int) String added in v1.0.2

func (number *Int) String() string

func (*Int) UnmarshalJSON

func (number *Int) UnmarshalJSON(b []byte) error

func (*Int) Value

func (number *Int) Value() interface{}

func (*Int) ValuePtr

func (number *Int) ValuePtr() interface{}

type Int8

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

func NewInt8

func NewInt8(value int8) *Int8

func (*Int8) IsZero

func (number *Int8) IsZero() bool

func (*Int8) MarshalJSON

func (number *Int8) MarshalJSON() ([]byte, error)

func (*Int8) SetValue

func (number *Int8) SetValue(v interface{}) error

-------------------------------------------------------

func (*Int8) String added in v1.0.2

func (number *Int8) String() string

func (*Int8) UnmarshalJSON

func (number *Int8) UnmarshalJSON(b []byte) error

func (*Int8) Value

func (number *Int8) Value() interface{}

func (*Int8) ValuePtr

func (number *Int8) ValuePtr() interface{}

type Int16

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

func NewInt16

func NewInt16(value int16) *Int16

func (*Int16) IsZero

func (number *Int16) IsZero() bool

func (*Int16) MarshalJSON

func (number *Int16) MarshalJSON() ([]byte, error)

func (*Int16) SetValue

func (number *Int16) SetValue(v interface{}) error

-------------------------------------------------------

func (*Int16) String added in v1.0.2

func (number *Int16) String() string

func (*Int16) UnmarshalJSON

func (number *Int16) UnmarshalJSON(b []byte) error

func (*Int16) Value

func (number *Int16) Value() interface{}

func (*Int16) ValuePtr

func (number *Int16) ValuePtr() interface{}

type Int32

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

func NewInt32

func NewInt32(value int32) *Int32

func (*Int32) IsZero

func (number *Int32) IsZero() bool

func (*Int32) MarshalJSON

func (number *Int32) MarshalJSON() ([]byte, error)

func (*Int32) SetValue

func (number *Int32) SetValue(v interface{}) error

-------------------------------------------------------

func (*Int32) String added in v1.0.2

func (number *Int32) String() string

func (*Int32) UnmarshalJSON

func (number *Int32) UnmarshalJSON(b []byte) error

func (*Int32) Value

func (number *Int32) Value() interface{}

func (*Int32) ValuePtr

func (number *Int32) ValuePtr() interface{}

type Int64

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

func NewInt64

func NewInt64(value int64) *Int64

func (*Int64) IsZero

func (number *Int64) IsZero() bool

func (*Int64) MarshalJSON

func (number *Int64) MarshalJSON() ([]byte, error)

func (*Int64) SetValue

func (number *Int64) SetValue(v interface{}) error

-------------------------------------------------------

func (*Int64) String added in v1.0.2

func (number *Int64) String() string

func (*Int64) UnmarshalJSON

func (number *Int64) UnmarshalJSON(b []byte) error

func (*Int64) Value

func (number *Int64) Value() interface{}

func (*Int64) ValuePtr

func (number *Int64) ValuePtr() interface{}

type String

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

func NewString

func NewString(value string) *String

func (*String) IsEmpty

func (s *String) IsEmpty() bool

-------------------------------------------------------

func (*String) MarshalJSON

func (s *String) MarshalJSON() ([]byte, error)

-------------------------------------------------------

func (*String) SetValue

func (s *String) SetValue(v interface{}) error

-------------------------------------------------------

func (*String) String added in v1.0.2

func (s *String) String() string

func (*String) UnmarshalJSON

func (s *String) UnmarshalJSON(b []byte) error

func (*String) Value

func (s *String) Value() interface{}

func (*String) ValuePtr

func (s *String) ValuePtr() interface{}

type UInt

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

func NewUInt

func NewUInt(value uint) *UInt

func (*UInt) IsZero

func (number *UInt) IsZero() bool

func (*UInt) MarshalJSON

func (number *UInt) MarshalJSON() ([]byte, error)

func (*UInt) SetValue

func (number *UInt) SetValue(v interface{}) error

-------------------------------------------------------

func (*UInt) String added in v1.0.2

func (number *UInt) String() string

func (*UInt) UnmarshalJSON

func (number *UInt) UnmarshalJSON(b []byte) error

func (*UInt) Value

func (number *UInt) Value() interface{}

func (*UInt) ValuePtr

func (number *UInt) ValuePtr() interface{}

type UInt8

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

func NewUInt8

func NewUInt8(value uint8) *UInt8

func (*UInt8) IsZero

func (number *UInt8) IsZero() bool

func (*UInt8) MarshalJSON

func (number *UInt8) MarshalJSON() ([]byte, error)

-------------------------------------------------------

func (*UInt8) SetValue

func (number *UInt8) SetValue(v interface{}) error

-------------------------------------------------------

func (*UInt8) String added in v1.0.2

func (number *UInt8) String() string

func (*UInt8) UnmarshalJSON

func (number *UInt8) UnmarshalJSON(b []byte) error

func (*UInt8) Value

func (number *UInt8) Value() interface{}

func (*UInt8) ValuePtr

func (number *UInt8) ValuePtr() interface{}

type UInt16

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

func NewUInt16

func NewUInt16(value uint16) *UInt16

func (*UInt16) IsZero

func (number *UInt16) IsZero() bool

func (*UInt16) MarshalJSON

func (number *UInt16) MarshalJSON() ([]byte, error)

-------------------------------------------------------

func (*UInt16) SetValue

func (number *UInt16) SetValue(v interface{}) error

-------------------------------------------------------

func (*UInt16) String added in v1.0.2

func (number *UInt16) String() string

func (*UInt16) UnmarshalJSON

func (number *UInt16) UnmarshalJSON(b []byte) error

func (*UInt16) Value

func (number *UInt16) Value() interface{}

func (*UInt16) ValuePtr

func (number *UInt16) ValuePtr() interface{}

type UInt32

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

func NewUInt32

func NewUInt32(value uint32) *UInt32

func (*UInt32) IsZero

func (number *UInt32) IsZero() bool

func (*UInt32) MarshalJSON

func (number *UInt32) MarshalJSON() ([]byte, error)

func (*UInt32) SetValue

func (number *UInt32) SetValue(v interface{}) error

-------------------------------------------------------

func (*UInt32) String added in v1.0.2

func (number *UInt32) String() string

func (*UInt32) UnmarshalJSON

func (number *UInt32) UnmarshalJSON(b []byte) error

func (*UInt32) Value

func (number *UInt32) Value() interface{}

func (*UInt32) ValuePtr

func (number *UInt32) ValuePtr() interface{}

type UInt64

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

func NewUInt64

func NewUInt64(value uint64) *UInt64

func (*UInt64) IsZero

func (number *UInt64) IsZero() bool

func (*UInt64) MarshalJSON

func (number *UInt64) MarshalJSON() ([]byte, error)

func (*UInt64) SetValue

func (number *UInt64) SetValue(v interface{}) error

-------------------------------------------------------

func (*UInt64) String added in v1.0.2

func (number *UInt64) String() string

func (*UInt64) UnmarshalJSON

func (number *UInt64) UnmarshalJSON(b []byte) error

func (*UInt64) Value

func (number *UInt64) Value() interface{}

func (*UInt64) ValuePtr

func (number *UInt64) ValuePtr() interface{}

Jump to

Keyboard shortcuts

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