Documentation
¶
Overview ¶
Package fixture declares types used to test the TypeScript generator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
ID int64 `json:"id"`
// Title of the task.
Title string `json:"title"`
Status Status `json:"status"`
Priority Priority `json:"priority"`
Tags []string `json:"tags"`
Due *time.Time `json:"due"`
Meta map[string]any `json:"meta,omitempty"`
Parent *Task `json:"parent,omitzero"`
Secret string `json:"-"`
Count int64 `json:"count,string"`
Raw json.RawMessage `json:"raw"`
Data []byte `json:"data"`
Scores map[int]float64 `json:"scores"`
Matrix [][]int `json:"matrix"`
Children []*Task `json:"children"`
Extra struct{ A bool } `json:"extra"`
NoTag string
Timestamps
// contains filtered or unexported fields
}
Task is a unit of work.
type Tasks ¶
type Tasks struct{}
Tasks manages tasks.
type Timestamps ¶
Timestamps is embedded in records.
Click to show internal directories.
Click to hide internal directories.