1
0
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:
Chris Cummer
2018-04-22 21:31:02 -07:00
parent a6e8d64284
commit 4fb308c555
4 changed files with 39 additions and 33 deletions

View File

@@ -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 {