code_martial code_martial - 6 months ago 13
PHP Question

Go equivalent of PHP's 'implode'

What is the Go equivalent of PHP's 'implode'?

Answer

In the standard library: strings.Join

func Join(a []string, sep string) string

http://golang.org/pkg/strings/#Join

Cheers!