mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 09:23:09 +00:00
Add strings.Join function
This commit is contained in:
parent
4272b2261f
commit
62c0d1f778
|
@ -122,6 +122,7 @@ type _strings struct{}
|
||||||
func (_strings) Count(a, b string) int { return strings.Count(a, b) }
|
func (_strings) Count(a, b string) int { return strings.Count(a, b) }
|
||||||
func (_strings) HasPrefix(a, b string) bool { return strings.HasPrefix(a, b) }
|
func (_strings) HasPrefix(a, b string) bool { return strings.HasPrefix(a, b) }
|
||||||
func (_strings) HasSuffix(a, b string) bool { return strings.HasSuffix(a, b) }
|
func (_strings) HasSuffix(a, b string) bool { return strings.HasSuffix(a, b) }
|
||||||
|
func (_strings) Join(elems []string, s string) string { return strings.Join(elems, s) }
|
||||||
func (_strings) Repeat(s string, i int) string { return strings.Repeat(s, i) }
|
func (_strings) Repeat(s string, i int) string { return strings.Repeat(s, i) }
|
||||||
func (_strings) Replace(a, b, c string, n int) string { return strings.Replace(a, b, c, n) }
|
func (_strings) Replace(a, b, c string, n int) string { return strings.Replace(a, b, c, n) }
|
||||||
func (_strings) ReplaceAll(a, b, c string) string { return strings.ReplaceAll(a, b, c) }
|
func (_strings) ReplaceAll(a, b, c string) string { return strings.ReplaceAll(a, b, c) }
|
||||||
|
|
Loading…
Reference in a new issue