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.
github.com/samikshyaluitel/clock_project has limited data (2/6 signals) — verify manually before use
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/go/github.com/samikshyaluitel/clock_projectLast updated · 2021-04-02T16:25:54Z