github.com/go-playground/pkg/v5@v5.29.1/strings/join.go (about) 1 package stringsext 2 3 import "strings" 4 5 // Join is a wrapper around strings.Join with a more ergonomic interface when you don't already have a slice of strings. 6 // 7 // Join concatenates the variadic elements placing the separator string between each element. 8 func Join(sep string, s ...string) string { 9 return strings.Join(s, sep) 10 }