We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4676126 commit 605c471Copy full SHA for 605c471
examples/consumer_example/consumer_example.go
@@ -65,7 +65,7 @@ func main() {
65
66
run := true
67
68
- for run == true {
+ for run {
69
select {
70
case sig := <-sigchan:
71
fmt.Printf("Caught signal %v: terminating\n", sig)
0 commit comments