Lines Matching refs:strs
19 func JoinWithPrefix(strs []string, prefix string) string {
20 if len(strs) == 0 {
24 if len(strs) == 1 {
25 return prefix + strs[0]
28 n := len(" ") * (len(strs) - 1)
29 for _, s := range strs {
34 for i, s := range strs {
44 func JoinWithPrefixAndQuote(strs []string, prefix string) string {
45 if len(strs) == 0 {
49 if len(strs) == 1 {
53 n := len(" ") * (len(strs) - 1)
54 for _, s := range strs {
59 for i, s := range strs {