diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-01 15:07:45 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-01 15:07:45 -0400 |
| commit | 0905a863f50d9631e6c44488b952622e75d79785 (patch) | |
| tree | 0634e9bd9e176660ad3d3260b24f08825aa85c67 /todo.go | |
| parent | ef9427646b9464d1f8c376f75741e737117a1a83 (diff) | |
Implement delete logic
Diffstat (limited to 'todo.go')
| -rw-r--r-- | todo.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,5 +28,7 @@ func routeInput(command string, input string) { app.ListTodos(input) case command == "a" || command == "add": app.AddTodo(input) + case command == "d" || command == "del": + app.DeleteTodo(input) } } |
