Documentation ¶
Index ¶
- type QueryResult
- type ResultItem
- func (ri ResultItem) Bool(name string) bool
- func (ri ResultItem) Date(name string) time.Time
- func (ri ResultItem) Float(name string) float64
- func (ri ResultItem) Int(name string) int
- func (ri ResultItem) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (ri ResultItem) String(name string) string
- type ResultSet
- type XmlNode
- func (n XmlNode) AsMap(mapInfo map[string]string) (info map[string]interface{})
- func (n XmlNode) AttrAsMap(mapInfo map[string]string) (info map[string]interface{})
- func (n XmlNode) Get(name string) (node XmlNode, err error)
- func (n XmlNode) GetAll(name string) (nodes []XmlNode, err error)
- func (n XmlNode) GetAsMap(name string, mapInfo map[string]string) (info map[string]interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryResult ¶
type ResultItem ¶
type ResultItem struct {
Data map[string]interface{} `json:"ResultItem"`
}
func (ResultItem) Bool ¶
func (ri ResultItem) Bool(name string) bool
func (ResultItem) Float ¶
func (ri ResultItem) Float(name string) float64
func (ResultItem) Int ¶
func (ri ResultItem) Int(name string) int
func (ResultItem) MarshalXML ¶
func (ri ResultItem) MarshalXML(e *xml.Encoder, start xml.StartElement) error
map to xml
func (ResultItem) String ¶
func (ri ResultItem) String(name string) string
type ResultSet ¶
type ResultSet struct { QueryName string Query QueryResult Results []ResultItem }
Click to show internal directories.
Click to hide internal directories.