SR
Size: a a a
DP
SD
DP
SR
NK
Z
DP
NK
DP
CF
package main
import "time"
import "fmt"
func main() {
  
    ticker := time.NewTicker(time.Millisecond * 10000)
  quit := make(chan bool)
  
    go func() {
    a := [5]int { 98, 93, 77, 82, 83 }
  
    for {
      select {
      case <- ticker.C:
        for _, element := range a {
          fmt.Println("Element:", element)
        }
        quit <- true
      case <- quit:
        ticker.Stop()
        fmt.Println("Ticker stopped")
      }
    }
    }()
}SN
package main
import "time"
import "fmt"
func main() {
  
    ticker := time.NewTicker(time.Millisecond * 10000)
  quit := make(chan bool)
  
    go func() {
    a := [5]int { 98, 93, 77, 82, 83 }
  
    for {
      select {
      case <- ticker.C:
        for _, element := range a {
          fmt.Println("Element:", element)
        }
        quit <- true
      case <- quit:
        ticker.Stop()
        fmt.Println("Ticker stopped")
      }
    }
    }()
}SN
SN
CF