package
Version:
v0.0.0-...-d6e6fda
Opens a new window with list of versions in this module.
Published: Jun 5, 2013
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DidYouMean struct {
Score float32 `xml:"score,attr"`
Level string `xml:"level,attr"`
Text string `xml:",chardata"`
}
type FutureTopic struct {
Topic string `xml:"topic,attr"`
Msg string `xml:"msg,attr"`
}
type Pod struct {
Title string `xml:"title,attr"`
IsError bool `xml:"error,attr"`
Error QueryError `xml:"error"`
Id string `xml:"id,attr"`
Primary bool `xml:"primary,attr"`
Subpods []Subpod `xml:"subpod"`
}
type QueryError struct {
Code int `xml:"code"`
Msg string `xml:"msg"`
}
type QueryResult struct {
IsSuccess bool `xml:"success,attr"`
IsError bool `xml:"error,attr"`
ParseTimedOut bool `xml:"parsetimedout,attr"`
TimedOut string `xml:"timedout,attr"`
Recalculate string `xml:"recalculate,attr"`
Pods []Pod `xml:"pod"`
Error QueryError `xml:"error"`
DidYouMeans []DidYouMean `xml:"didyoumeans>didyoumean"`
Tips []Tip `xml:"tips>tip"`
FutureTopic *FutureTopic `xml:"futuretopic"`
}
type Subpod struct {
Title string `xml:"title,attr"`
Primary bool `xml:"primary,attr"`
Plaintext string `xml:"plaintext"`
MathML string `xml:"mathml"`
}
type Tip struct {
Text string `xml:"text,attr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.