diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-04-24 09:54:29 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-04-24 09:54:29 -0400 |
| commit | c34fdae510debc8d106a68f60799b64b98c9b2f5 (patch) | |
| tree | 3ba23bc38ebbca1376e1faa94d596cb57e662920 /todo.go | |
| parent | bd362c8e56e3453b6c2874f2d1e81ee350539d65 (diff) | |
Modify Todo structure to use correct types
Diffstat (limited to 'todo.go')
| -rw-r--r-- | todo.go | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -3,13 +3,14 @@ package todolist import "time" type Todo struct { - Id string - Subject string - Projects []string - Contexts []string - Due time.Time - Completed bool - Archived bool + Id int + Subject string + Projects []string + Contexts []string + Due string + FormattedDue time.Time + Completed bool + Archived bool } func NewTodo() *Todo { |
