Documentation ¶
Index ¶
- Variables
- func Ask(label string) (string, error)
- func AskPassword(label string) (string, error)
- func AskWithSuggests(label string, suggestions []string) (string, error)
- func AskYesOrNot(label string) bool
- func EnsureTagIsValid(tag string) bool
- func LoadContentInCache(key, content string) (string, error)
- func NewCached() (string, error)
- func NewCachedIn(path string) error
- func NoteFromFile(filePath string) (store.Note, error)
- func PrepareToRun(ctx context.Context, options EditorOptions) (func() error, error)
- func RenderTable(header table.Row, rows []table.Row)
- func SearchCriteriaInNoteView(notes []store.NoteView, f func(n store.NoteView) bool) bool
- func SetsFromDir(path string) ([]store.Note, error)
- type EditorOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPathRequired error = errors.New("path required")
Functions ¶
func AskPassword ¶
func AskYesOrNot ¶
func EnsureTagIsValid ¶
func LoadContentInCache ¶
func NewCachedIn ¶
func PrepareToRun ¶
func PrepareToRun(ctx context.Context, options EditorOptions) (func() error, error)
func SearchCriteriaInNoteView ¶ added in v1.1.0
Types ¶
type EditorOptions ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.