package
0.0.0-20241126132414-a6474f9c9b52
Repository: https://github.com/talgat-ruby/exercises-go.git
Documentation: pkg.go.dev
# README
Problem 5
send
combines words into a single message. It accepts slice of strings which needs to combine, producer and consumer.
Your job is to implement correct producer
and consumer
.
list := []string{
"Hello",
"dear",
"friend!",
"Learn",
"from",
"yesterday.",
"Save",
"our",
"soles.",
}
send(list, producer, consumer) // "Hello dear friend! Learn from yesterday. Save our soles."