mobyvb / tasklist

a tool to keep track of tasks and how long you've been working on them
0 stars 0 forks source link

Get rid of globals #23

Closed mobyvb closed 1 year ago

mobyvb commented 1 year ago

Rework the code so that the functionality is handled by a new type, TaskList, rather than relying on a global list For example I could call taskList.addTask(description) instead of using a global addTask function


files:main.go