package sensor import ( "fmt" ) func SensorService(ch chan string) { for msg := range ch { fmt.Println("Sensor Service: ", msg) } }