Please find below the instructions, make sure he provides also the tests.
Please do not post your solution in a public repo.
Create a clock application written in go that will print the following values at the following intervals to stdout:
- "tick" every second
- "tock" every minute
- "bong" every hour
Only one value should be printed in a given second, i.e. when printing "bong" on the hour, the "tick" and "tock" values should not be printed.
It should run for three hours and then exit.
A mechanism should exist for the user to alter any of the printed values while the program is running, i.e. after the clock has run for 10 minutes I should, without stopping the program, be able to change it so that it stops printing "tick" every second and starts printing "quack" instead.
Please provide appropriate test coverage.
12 freelancere byder i gennemsnit $19 på dette job
I already coded a singleton class of this kind of tick tock. Can be set time interval and output message as you request, easy to use. Will send you now if my bid is accepted.
Hi Chaitanya, I have experience in golang, so I can finish this task in a few hours. let's have a chat to discuss further on this project. Thanks, Sayan
Hello sir, in fact i am interested in your project and i am completely ready to start working on it , if you want your job to be done perfectly and as soon as possible just ping me and let's get started ;)