We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005ffc0 commit 554593aCopy full SHA for 554593a
README.md
@@ -126,6 +126,13 @@ separator := ","
126
result := stringFormatter.SliceToString(&slice, &separator)
127
```
128
129
+`SliceSameTypeToString` - function that converts typed slice to line with separator
130
+```go
131
+separator := ":"
132
+numericSlice := []int{100, 200, 400, 800}
133
+result := stringFormatter.SliceSameTypeToString(&numericSlice, &separator)
134
+```
135
+
136
#### 2.4 Benchmarks of the SliceToString function
137
138
`sf` is rather fast then `fmt` 2.5 times (250%) faster on slice with 20 items, see benchmark:
0 commit comments