We have an unfinished program! It reads a value from stdin to cancelMessage variable and does a doSomethingAndFail task.
Modify the commented parts of the code so that:
- the context is canceled by timeout,
- as soon as the context is canceled the message is printed to the console.
The message should look like this: <cancelMessage variable value> <cancellation error from the context>
Tip: Use context.WithTimeout