2022-09-16 21:06:57 +01:00
2022-09-05 21:50:00 +01:00
2022-09-16 20:13:02 +01:00
2022-09-16 20:13:02 +01:00
2022-09-16 20:13:02 +01:00
2022-09-16 21:06:17 +01:00
2022-09-16 21:06:34 +01:00
2022-09-16 21:05:49 +01:00
2022-09-16 21:05:07 +01:00
2022-09-16 21:06:57 +01:00

Go Task Reminder

unfinished

The Goal

Create a Task Reminder application that will:

  • Take a JSON file as input (directly or indirectly)
  • Load JSON file into a task struct
  • For each task in the JSON file, run a go routine

Of course, handle all the errors that are involved with this:

  • JSON Errors
  • Too large of numbers
  • etc

JSON Structure

The JSON structure should look like this:

{
    "Tasks":
    [
        {
        "taskname": "Example Task",
        "taskdesc": "",
        "interval": 100,
        "cmd": "ls | wc -l" ,
        "icon": ""
        },

        {
        "taskname": "Second Example",
        "taskdesc": "catlol",
        "interval": 15,
        "cmd": "",
        "icon": "./assets/catlol.jpg"
        }
    ]
}

TODO

  • Create sample config
  • check these two locations for a config:
    • /home/user/.config/rem/tasks.json
    • /home/user/go/src/rem/tasks.json
  • More!
Description
No description provided
Readme 328 KiB
Languages
Go 100%