diff options
| author | Grant Ammons <gammons@gmail.com> | 2017-06-12 08:13:15 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2017-06-12 08:13:15 -0400 |
| commit | c50de79c4828dbb4f9b5c23bf9e00ea4dea38a01 (patch) | |
| tree | 1c6a3a75ca21299e160778f9dd5fddb3be9f3828 /todolist/app.go | |
| parent | cb849e5a8e0280d9fc10941d915f6252a0ad1cdc (diff) | |
Fix #64, parsing a todo with europe date format
* the `hasDue` function was not running, and therefore it was not parsing the due date.
* Also added the beginnings of a more holistic test approach, using `app_test.go`.
Diffstat (limited to 'todolist/app.go')
| -rw-r--r-- | todolist/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/app.go b/todolist/app.go index 56787d3..42b1361 100644 --- a/todolist/app.go +++ b/todolist/app.go @@ -8,7 +8,7 @@ import ( ) type App struct { - TodoStore *FileStore + TodoStore Store TodoList *TodoList } |
