strings.Replace(strings.Trim(fmt.Sprint(array_or_slice), "[]"), " ", ",", -1)
[a] -> a -> a
[a b c] -> a b c -> a,b,c