Documentation ¶
Index ¶
- Variables
- func Add(ctx context.Context, cfg *Config, name, content string) error
- func Delete(ctx context.Context, cfg *Config, id, name string) error
- func Done(ctx context.Context, cfg *Config, name, id string) error
- func List(ctx context.Context, cfg *Config, name string) error
- func StringEnv(key string) string
- func Undone(ctx context.Context, cfg *Config, name, id string) error
- type Config
- type Todo
- type TodoList
Constants ¶
This section is empty.
Variables ¶
View Source
var CONFIG = StringEnv("NOSTR_TODO")
View Source
var ErrNotFound = errors.New("todo list not found")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.