aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/todo.go b/todo.go
index f918b1e..1319132 100644
--- a/todo.go
+++ b/todo.go
@@ -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 {