()
| 345 | } |
| 346 | |
| 347 | func ExampleWrap() { |
| 348 | result1 := Wrap("foo", "") |
| 349 | result2 := Wrap("foo", "*") |
| 350 | result3 := Wrap("'foo'", "'") |
| 351 | result4 := Wrap("", "*") |
| 352 | |
| 353 | fmt.Println(result1) |
| 354 | fmt.Println(result2) |
| 355 | fmt.Println(result3) |
| 356 | fmt.Println(result4) |
| 357 | // Output: |
| 358 | // foo |
| 359 | // *foo* |
| 360 | // ''foo'' |
| 361 | // |
| 362 | } |
| 363 | |
| 364 | func ExampleUnwrap() { |
| 365 | result1 := Unwrap("foo", "") |
nothing calls this directly
no test coverage detected
searching dependent graphs…