aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'todolist/parser.go')
-rw-r--r--todolist/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/parser.go b/todolist/parser.go
index d3b5968..1e98d33 100644
--- a/todolist/parser.go
+++ b/todolist/parser.go
@@ -11,7 +11,7 @@ import (
type Parser struct{}
-func (p *Parser) Parse(input string) *Todo {
+func (p *Parser) ParseNewTodo(input string) *Todo {
todo := NewTodo()
todo.Subject = p.Subject(input)
todo.Projects = p.Projects(input)