Documentation ¶
Index ¶
- type NestedData
- func (n *NestedData) All() interface{}
- func (n *NestedData) Exists(s ...string) bool
- func (n *NestedData) Get(s ...string) (interface{}, bool)
- func (n *NestedData) GetF(s ...string) (float64, bool)
- func (n *NestedData) GetI(s ...string) (int64, bool)
- func (n *NestedData) GetM(s ...string) (map[string]interface{}, bool)
- func (n *NestedData) GetS(s ...string) ([]interface{}, bool)
- func (n *NestedData) GetStr(s ...string) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NestedData ¶
type NestedData struct {
// contains filtered or unexported fields
}
func New ¶
func New(n interface{}) *NestedData
func (*NestedData) All ¶
func (n *NestedData) All() interface{}
func (*NestedData) Exists ¶
func (n *NestedData) Exists(s ...string) bool
func (*NestedData) Get ¶
func (n *NestedData) Get(s ...string) (interface{}, bool)
func (*NestedData) GetS ¶
func (n *NestedData) GetS(s ...string) ([]interface{}, bool)
Click to show internal directories.
Click to hide internal directories.