mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Can delete items from Todo list
This commit is contained in:
@@ -83,13 +83,12 @@ func Now() time.Time {
|
||||
}
|
||||
|
||||
func ReadYamlFile(filePath string) ([]byte, error) {
|
||||
file, err := ioutil.ReadFile(filePath)
|
||||
|
||||
fileData, err := ioutil.ReadFile(filePath)
|
||||
if err != nil {
|
||||
return []byte{}, err
|
||||
}
|
||||
|
||||
return file, nil
|
||||
return fileData, nil
|
||||
}
|
||||
|
||||
func RightAlignFormat(view *tview.TextView) string {
|
||||
|
||||
Reference in New Issue
Block a user