package
Version:
v0.0.0-...-2f2da42
Opens a new window with list of versions in this module.
Published: Jun 26, 2025
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Run is the main entrypoint for the TUI application.
type AppData struct {
Notes []Note `json:"notes"`
Folders []string `json:"folders"`
Tags []string `json:"tags"`
Templates []Template `json:"templates"`
NextID int `json:"next_id"`
}
type Note struct {
ID int `json:"id"`
Title string `json:"title"`
Content string `json:"content"`
Tags []string `json:"tags"`
Folder string `json:"folder"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Data structures
type Template struct {
Name string `json:"name"`
Content string `json:"content"`
Tags []string `json:"tags"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.