nilType

package
v0.0.0-...-e50112c Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

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

func NewBool

func NewBool(a ...interface{}) (val Bool)

func (Bool) BoolValue

func (this Bool) BoolValue() bool

func (*Bool) InterfaceValue

func (this *Bool) InterfaceValue() interface{}

func (*Bool) IsNotNil

func (this *Bool) IsNotNil() bool

func (Bool) MarshalJSON

func (this Bool) MarshalJSON() ([]byte, error)

func (*Bool) Scan

func (this *Bool) Scan(val interface{}) (err error)

func (*Bool) SetValue

func (this *Bool) SetValue(val interface{}) (err error)

func (*Bool) String

func (this *Bool) String() string

func (*Bool) UnmarshalJSON

func (this *Bool) UnmarshalJSON(bytes []byte) error

func (Bool) Value

func (this Bool) Value() (driver.Value, error)

type Int

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

func NewInt

func NewInt(a ...interface{}) (val Int)

func (Int) Int64Value

func (this Int) Int64Value() int64

func (Int) IntValue

func (this Int) IntValue() int

func (*Int) InterfaceValue

func (this *Int) InterfaceValue() interface{}

func (*Int) IsNotNil

func (this *Int) IsNotNil() bool

func (Int) MarshalJSON

func (this Int) MarshalJSON() ([]byte, error)

func (*Int) Scan

func (this *Int) Scan(val interface{}) (err error)

func (*Int) SetValue

func (this *Int) SetValue(val interface{}) (err error)

func (*Int) String

func (this *Int) String() string

func (*Int) UnmarshalJSON

func (this *Int) UnmarshalJSON(bytes []byte) error

func (Int) Value

func (this Int) Value() (driver.Value, error)

type NilType

type NilType interface {
	IsNotNil() bool
	InterfaceValue() interface{}
	SetValue(val interface{}) (err error)

	fmt.Stringer

	sql.Scanner
	driver.Valuer

	json.Marshaler
	json.Unmarshaler
}

type String

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

func NewString

func NewString(a ...interface{}) (val String)

func (*String) InterfaceValue

func (this *String) InterfaceValue() interface{}

func (*String) IsNotNil

func (this *String) IsNotNil() bool

func (String) MarshalJSON

func (this String) MarshalJSON() ([]byte, error)

func (*String) Scan

func (this *String) Scan(val interface{}) (err error)

func (*String) SetValue

func (this *String) SetValue(val interface{}) (err error)

func (*String) String

func (this *String) String() string

func (String) StringValue

func (this String) StringValue() string

func (*String) UnmarshalJSON

func (this *String) UnmarshalJSON(bytes []byte) error

func (String) Value

func (this String) Value() (driver.Value, error)

type Time

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

func NewTime

func NewTime(a ...interface{}) (val Time)

func (*Time) InterfaceValue

func (this *Time) InterfaceValue() interface{}

func (*Time) IsNotNil

func (this *Time) IsNotNil() bool

func (Time) MarshalJSON

func (this Time) MarshalJSON() ([]byte, error)

func (*Time) Scan

func (this *Time) Scan(val interface{}) (err error)

func (*Time) SetValue

func (this *Time) SetValue(val interface{}) (err error)

func (*Time) String

func (this *Time) String() string

func (Time) TimeValue

func (this Time) TimeValue() time.Time

func (*Time) UnmarshalJSON

func (this *Time) UnmarshalJSON(bytes []byte) error

func (Time) Value

func (this Time) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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