mirror of
https://github.com/samber/lo.git
synced 2026-04-22 23:47:11 +08:00
fa095e4b4f
* fix(doc): fix go playground demo URL * fix(doc): add more go playground demo URL
470 B
470 B
name, slug, sourceRef, category, subCategory, signatures, playUrl, variantHelpers, similarHelpers, position
| name | slug | sourceRef | category | subCategory | signatures | playUrl | variantHelpers | similarHelpers | position | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Repeat | repeat | it/seq.go#L384 | it | sequence |
|
https://go.dev/play/p/xs-aq0p_uDP |
|
|
75 |
Creates a sequence that repeats the initial value count times.
result := it.Repeat(3, "hello")
// ["hello", "hello", "hello"]