()
| 2485 | } |
| 2486 | |
| 2487 | func ExamplePipe_MatchRegexp() { |
| 2488 | re := regexp.MustCompile("w.*d") |
| 2489 | script.Echo("hello\nworld\n").MatchRegexp(re).Stdout() |
| 2490 | // Output: |
| 2491 | // world |
| 2492 | } |
| 2493 | |
| 2494 | func ExamplePipe_Post() { |
| 2495 | ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…