Documentation ¶ Index ¶ type Any func New(val any) *Any func (an *Any) Bool() bool func (an *Any) Int() int func (an *Any) IsNil() bool func (an *Any) Num() float64 func (an *Any) Set(val any) any func (an *Any) Str() string func (an *Any) Time() time.Time func (an *Any) Val() any Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Any ¶ type Any struct { // contains filtered or unexported fields } func New ¶ func New(val any) *Any func (*Any) Bool ¶ func (an *Any) Bool() bool func (*Any) Int ¶ func (an *Any) Int() int func (*Any) IsNil ¶ func (an *Any) IsNil() bool func (*Any) Num ¶ func (an *Any) Num() float64 func (*Any) Set ¶ func (an *Any) Set(val any) any func (*Any) Str ¶ func (an *Any) Str() string func (*Any) Time ¶ func (an *Any) Time() time.Time func (*Any) Val ¶ func (an *Any) Val() any Source Files ¶ View all Source files generic.go Click to show internal directories. Click to hide internal directories.