Complete the code to start a goroutine that prints "Hello".
go [1]()The correct way is to start an anonymous function as a goroutine that calls println("Hello").
Complete the code to send the integer 5 into the channel ch.
ch [1] 5
To send a value into a channel, use the syntax: channel <- value.
Fix the error in the select statement to receive from channel ch.
select {
case val [1] ch:
fmt.Println(val)
}To receive a value from a channel in a select case, use val <- ch.
Fill both blanks to create a buffered channel of integers with capacity 3.
ch := make(chan [1], [2])
The channel should be of type int and have a buffer size of 3.
Fill all three blanks to range over channel ch and print received values.
for [1] := range [2] { fmt.[3](val) }
Use 'val' as the loop variable, 'ch' as the channel, and 'Println' to print the value.
