Documentation
¶
Index ¶
- type Value
- func (this *Value) Bool() bool
- func (this *Value) Bytes() []byte
- func (this *Value) Duration() time.Duration
- func (this *Value) Float32() float32
- func (this *Value) Float64() float64
- func (this *Value) Int() int
- func (this *Value) Int16() int16
- func (this *Value) Int32() int32
- func (this *Value) Int64() int64
- func (this *Value) Int8() int8
- func (this *Value) Set(value interface{}) *Value
- func (this *Value) StrictBool() (bool, error)
- func (this *Value) StrictDuration() (time.Duration, error)
- func (this *Value) StrictFloat32() (float32, error)
- func (this *Value) StrictFloat64() (float64, error)
- func (this *Value) StrictInt() (int, error)
- func (this *Value) StrictInt16() (int16, error)
- func (this *Value) StrictInt32() (int32, error)
- func (this *Value) StrictInt64() (int64, error)
- func (this *Value) StrictInt8() (int8, error)
- func (this *Value) StrictTime() (time.Time, error)
- func (this *Value) StrictTimeFormat(format string) (time.Time, error)
- func (this *Value) StrictUint() (uint, error)
- func (this *Value) StrictUint16() (uint16, error)
- func (this *Value) StrictUint32() (uint32, error)
- func (this *Value) StrictUint64() (uint64, error)
- func (this *Value) StrictUint8() (uint8, error)
- func (this *Value) String() string
- func (this *Value) Time() time.Time
- func (this *Value) TimeFormat(format string) time.Time
- func (this *Value) Uint() uint
- func (this *Value) Uint16() uint16
- func (this *Value) Uint32() uint32
- func (this *Value) Uint64() uint64
- func (this *Value) Uint8() uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func (*Value) StrictBool ¶
func (*Value) StrictDuration ¶
Duration returns time.Duration type value.
func (*Value) StrictFloat32 ¶
func (*Value) StrictFloat64 ¶
func (*Value) StrictInt16 ¶
func (*Value) StrictInt32 ¶
func (*Value) StrictInt64 ¶
func (*Value) StrictInt8 ¶
func (*Value) StrictTime ¶
Time parses with RFC3339 format and returns time.Time type value.
func (*Value) StrictTimeFormat ¶
TimeFormat parses with given format and returns time.Time type value.
func (*Value) StrictUint ¶
func (*Value) StrictUint16 ¶
func (*Value) StrictUint32 ¶
func (*Value) StrictUint64 ¶
func (*Value) StrictUint8 ¶
Click to show internal directories.
Click to hide internal directories.