()
| 598 | end` |
| 599 | |
| 600 | func ExamplePrintParams() { |
| 601 | runExample(&testContext{ |
| 602 | script: PrintParams, |
| 603 | params: []string{"myparam=foo", "other=bar", "justkey"}, |
| 604 | }) |
| 605 | // Output: |
| 606 | // myparam=foo |
| 607 | // other=bar |
| 608 | // justkey |
| 609 | // nil |
| 610 | // foo |
| 611 | // bar |
| 612 | // |
| 613 | // nil |
| 614 | } |
| 615 | |
| 616 | const SetRequestInvalidField = ` |
| 617 | function response(ctx, params) |
nothing calls this directly
no test coverage detected
searching dependent graphs…