StdoutBackend is an implementation of the Backend that prints emails to stdout instead of sending them. This is useful for development and testing.
| 127 | // that prints emails to stdout instead of sending them. |
| 128 | // This is useful for development and testing. |
| 129 | type StdoutBackend struct { |
| 130 | Templates Templates |
| 131 | } |
| 132 | |
| 133 | // NewStdoutBackend creates a stdout backend |
| 134 | func NewStdoutBackend() *StdoutBackend { |
nothing calls this directly
no outgoing calls
no test coverage detected