https://pkg.go.dev/time#SleepNo where in the go documentation does it say what units the sleep int is. Seconds? Milliseconds? You just have to try.
@valleyforge yeah, it does. The Sleep documentation says it takes an argument of type Duration, which "represents the elapsed time between two instants as an int64 nanosecond count" according to its own documentation a couple entries after Sleep.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@valleyforge yeah, it does. The Sleep documentation says it takes an argument of type Duration, which "represents the elapsed time between two instants as an int64 nanosecond count" according to its own documentation a couple entries after Sleep.