package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Aug 4, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
LastInput string `json:"last_input"`
RunningPID int `json:"running_pid"`
}
type EntryOnDetailPage struct {
InputState *InputState
}
type InputState struct {
Value string
Focused bool
CursorPosition int
}
type LogEntry struct {
ID int64 `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
CreateTime time.Time `json:"create_time"`
UpdateTime time.Time `json:"update_time"`
}
type LogEntryLegacy struct {
Timestamp time.Time `json:"timestamp"`
EventType string `json:"event_type"`
TodoID int `json:"todo_id"`
TodoData LogEntry `json:"todo_data"`
}
type LogEntryOptional struct {
ID *int64 `json:"id"`
Text *string `json:"text"`
Done *bool `json:"done"`
CreateTime *time.Time `json:"create_time"`
UpdateTime *time.Time `json:"update_time"`
}
type Note struct {
ID int64 `json:"id"`
EntryID int64 `json:"entry_id"`
Text string `json:"text"`
CreateTime time.Time `json:"create_time"`
UpdateTime time.Time `json:"update_time"`
}
type NoteOptional struct {
ID *int64 `json:"id"`
EntryID *int64 `json:"entry_id"`
Text *string `json:"text"`
CreateTime *time.Time `json:"create_time"`
UpdateTime *time.Time `json:"update_time"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.