You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
187 B
Bash
7 lines
187 B
Bash
5 years ago
|
// The first timer will expire ~2s after we start the
|
||
|
// program, but the second should be stopped before it has
|
||
|
// a chance to expire.
|
||
|
$ go run timers.go
|
||
|
Timer 1 expired
|
||
|
Timer 2 stopped
|