package main
import (
"fmt"
"strings"
)
func main() {
// Create a slice and append three strings to it.
values := []string{}
values = append(values,
"cat")
values = append(values,
"dog")
values = append(values,
"bird")
// Join three strings into one.
result := strings.Join(values,
"...")
fmt.Println(result)
}
cat...dog...bird