()
| 46 | } |
| 47 | |
| 48 | func ExampleWithContextValue() { |
| 49 | lambda.StartWithOptions( |
| 50 | func(ctx context.Context) (string, error) { |
| 51 | return ctx.Value("foo").(string), nil |
| 52 | }, |
| 53 | lambda.WithContextValue("foo", "bar"), |
| 54 | ) |
| 55 | } |
| 56 | |
| 57 | func ExampleWithSetEscapeHTML() { |
| 58 | lambda.StartWithOptions( |
nothing calls this directly
no test coverage detected
searching dependent graphs…