Golang values of multiple pipes are passed into one pipe

how do I pass the values of multiple pipes into one pipe?
such as
ch1: = make (chan string, 10)

.
.

ch: = make (chan string, 100)
go Channel1 (ch1)
go Channel2 (ch2)
go Channel3 (ch3)
go Channel4 (ch4)
how to transfer data from four pipes to ch

Oct.12,2021

your parameters need to be changed:

func Channel1(ch,chX chan string){
    for{
        str:<-chX
        ch<-str
    }
}
Menu