-------------------------------------------------------------------
| 237 | // ------------------------------------------------------------------- |
| 238 | |
| 239 | type EmailTemplate struct { |
| 240 | Subject string `form:"subject" json:"subject"` |
| 241 | Body string `form:"body" json:"body"` |
| 242 | } |
| 243 | |
| 244 | // Validate makes EmailTemplate validatable by implementing [validation.Validatable] interface. |
| 245 | func (t EmailTemplate) Validate() error { |
nothing calls this directly
no outgoing calls
no test coverage detected