()
| 9 | ) |
| 10 | |
| 11 | func ExampleSimpleEmailEvent() { |
| 12 | lambda.Start(func(ctx context.Context, sesEvent *events.SimpleEmailEvent) error { |
| 13 | for _, record := range sesEvent.Records { |
| 14 | ses := record.SES |
| 15 | fmt.Printf("[%s - %s] Mail = %+v, Receipt = %+v \n", record.EventVersion, record.EventSource, ses.Mail, ses.Receipt) |
| 16 | } |
| 17 | |
| 18 | return nil |
| 19 | }) |
| 20 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…