diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-04-26 13:10:56 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-04-26 13:10:56 -0400 |
| commit | 695c60e3f58d831e4b05aa35114adff7e1c46d23 (patch) | |
| tree | 84019a133b5b66c2873aaff4853e71e1e8ef1cb2 /todolist/parser.go | |
| parent | e3213b3ef2c84387b66eeb731f5493c5e6da6a5d (diff) | |
Rename method to describe it better
Diffstat (limited to 'todolist/parser.go')
| -rw-r--r-- | todolist/parser.go | 2 |
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) |
