Documentation
¶
Index ¶
- func FPrettyPrintFile(w io.Writer, todoList []TodoEntity, editText EditTextFunc) error
- func GetFolder() (string, error)
- func PrettyPrintFile(fileFullPath string, editText EditTextFunc) error
- func SPrettyPrintFile(fileFullPath string, editText EditTextFunc) (string, error)
- func WriteTodoToFile(fileFullPath string, todoList []TodoEntity) (err error)
- type EditTextFunc
- type TodoEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FPrettyPrintFile ¶
func FPrettyPrintFile(w io.Writer, todoList []TodoEntity, editText EditTextFunc) error
func PrettyPrintFile ¶
func PrettyPrintFile(fileFullPath string, editText EditTextFunc) error
func SPrettyPrintFile ¶
func SPrettyPrintFile(fileFullPath string, editText EditTextFunc) (string, error)
func WriteTodoToFile ¶
func WriteTodoToFile(fileFullPath string, todoList []TodoEntity) (err error)
Types ¶
type TodoEntity ¶
type TodoEntity struct {
Text string
}
func GetTodoFromFile ¶
func GetTodoFromFile(fileFullPath string) (items []TodoEntity, err error)
This does not create the file if it doesn't exist
Click to show internal directories.
Click to hide internal directories.