Documentation ¶
Index ¶
- type Object
- func (o *Object) AsDumpString() string
- func (o *Object) AsFmtString() string
- func (o *Object) AsRawValue() any
- func (o *Object) AsString() string
- func (o *Object) AsType() string
- func (o *Object) Format(s fmt.State, verb rune)
- func (o *Object) IsDumpableRawType() bool
- func (o *Object) IsPointerType() bool
- func (o *Object) IsStringType() bool
- func (o *Object) IsStructType() bool
- func (o *Object) Touch() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func NewObjectWithMaxLen ¶
func (*Object) AsDumpString ¶
Return dump string even if the value would be any value
func (*Object) AsFmtString ¶
func (*Object) AsRawValue ¶
Return raw value as any type that should be same as original value
func (*Object) AsString ¶
Return the value as string that was converted by fmt.Sprintf for each type
func (*Object) IsDumpableRawType ¶
Return boolean whether the value is dumpable
func (*Object) IsPointerType ¶ added in v0.0.10
Return boolean whether the value is a pointer
func (*Object) IsStringType ¶
Return boolean whether the value is string type
func (*Object) IsStructType ¶ added in v0.0.10
Return boolean whether the value is a struct
Click to show internal directories.
Click to hide internal directories.