| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package ses |
||
| 8 | func (svc *SES) XCreateTemplate(ctx context.Context, templateName, subject, htmlBody, textBody string) error { |
||
| 9 | _, err := svc.CreateTemplate(ctx, CreateTemplateRequest{ |
||
| 10 | Template: Template{ |
||
| 11 | TemplateName: templateName, |
||
| 12 | SubjectPart: subject, |
||
| 13 | HTMLPart: htmlBody, |
||
| 14 | TextPart: textBody, |
||
| 15 | }, |
||
| 16 | }) |
||
| 17 | return err |
||
| 18 | } |
||
| 19 |