aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/file_store.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo errorW1m3R2017-11-101-1/+1
|
* Put the return after the os.ExitGrant Ammons2017-06-121-0/+2
|
* Fix #64, parsing a todo with europe date formatGrant Ammons2017-06-121-1/+0
| | | | | * 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`.
* Remove return statements to silence linter warningGrant Ammons2017-06-121-2/+0
|
* Re-order functions in file_storeGrant Ammons2017-06-121-26/+27
|
* Global repo as the back-up planQuey-Liang Kao2017-03-081-1/+23
| | | | | | | This patch implements the logic discussed at #31, in which the program still tries to find a repo file in the working directory first, and it tries the global one in the home directory if no one is found.
* Revert "Global repo file as the default"Grant Ammons2017-03-071-20/+5
|
* Refine previous commitQuey-Liang Kao2017-02-191-1/+4
|
* Global repo file as the defaultQuey-Liang Kao2017-02-041-5/+17
| | | | | | | | | | | This patch implments the new workflow mentioned in #31, in which the program still tries to find a repo file in the working directory first, and it tries the global one in the home directory if no one is found. In this patch, the condition check of the existence of the repo file is done in `todolist/file_store.go` at the very early step before the input routing.
* Refactored codeBunchhieng2016-09-151-2/+4
|
* Refactor todolist stuff out of the file store implementationGrant Ammons2016-06-121-105/+9
|
* Ensure we don't destroy an existing .todos.jsonGrant Ammons2016-05-081-0/+5
|
* Look for .todos.json in the directory we are inGrant Ammons2016-05-081-7/+18
| | | | This allows for project-specific todos.
* Handle case where todos.json cant be loadedGrant Ammons2016-05-051-2/+10
|
* Make everything a pointer, add archive completed fnGrant Ammons2016-05-031-9/+9
|
* Add archive/unarchiveGrant Ammons2016-05-021-0/+14
|
* Uncomplete todoGrant Ammons2016-05-021-0/+7
|
* Get completing todos to work correctlyGrant Ammons2016-05-021-0/+7
|
* Sort todos by due date by defaultGrant Ammons2016-05-011-0/+12
|
* Implement delete logicGrant Ammons2016-05-011-0/+29
|
* Get adding a todo workingGrant Ammons2016-04-261-0/+22
|
* Bring in the app and routerGrant Ammons2016-04-241-0/+3
|
* Organize things a bit betterGrant Ammons2016-04-241-0/+34