Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListTasksResponse ¶
type ListTasksResponse struct {
Tasks []Task `json:"tasks"`
}
func (ListTasksResponse) MarshalEasyJSON ¶
func (v ListTasksResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ListTasksResponse) MarshalJSON ¶
func (v ListTasksResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ListTasksResponse) UnmarshalEasyJSON ¶
func (v *ListTasksResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ListTasksResponse) UnmarshalJSON ¶
func (v *ListTasksResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Task ¶
type Task struct { ID uint64 `json:"id"` Title string `json:"title"` Description string `json:"description"` Links []string `json:"links"` UpdatedAt uint64 `json:"updatedAt"` Completed bool `json:"completed"` }
func (Task) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Task) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Task) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Task) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.