()
| 410 | } |
| 411 | |
| 412 | func ExampleFlatten() { |
| 413 | arrs := [][][]string{{{"a", "b"}}, {{"c", "d"}}} |
| 414 | |
| 415 | result := Flatten(arrs) |
| 416 | |
| 417 | fmt.Println(result) |
| 418 | |
| 419 | // Output: |
| 420 | // [[a b] [c d]] |
| 421 | } |
| 422 | |
| 423 | func ExampleFlattenDeep() { |
| 424 | arrs := [][][]string{{{"a", "b"}}, {{"c", "d"}}} |
nothing calls this directly
no test coverage detected
searching dependent graphs…