Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation struct {
Time time.Time
TimeEnd time.Time
Title string
Text string
Tags []string
Request RequestDetails
}
Annotation response. The annotation endpoint returns a slice of these.
func (Annotation) MarshalJSON ¶
func (annotation Annotation) MarshalJSON() (output []byte, err error)
MarshalJSON converts an Annotation to JSON.
type Request ¶
type Request struct {
Annotation RequestDetails `json:"annotation"`
Args
}
Request is a query for annotation.
func (*Request) UnmarshalJSON ¶ added in v3.1.0
UnmarshalJSON unmarshalls a Request from JSON
Click to show internal directories.
Click to hide internal directories.