()
| 697 | } |
| 698 | |
| 699 | func ExampleConcat() { |
| 700 | result1 := Concat(12, "Hello", " ", "World", "!") |
| 701 | result2 := Concat(11, "Go", " ", "Language") |
| 702 | result3 := Concat(0, "An apple a ", "day,", "keeps the", " doctor away") |
| 703 | fmt.Println(result1) |
| 704 | fmt.Println(result2) |
| 705 | fmt.Println(result3) |
| 706 | |
| 707 | // Output: |
| 708 | // Hello World! |
| 709 | // Go Language |
| 710 | // An apple a day,keeps the doctor away |
| 711 | } |
| 712 | |
| 713 | func ExampleEllipsis() { |
| 714 | result1 := Ellipsis("hello world", 5) |
nothing calls this directly
no test coverage detected
searching dependent graphs…