Alert displays an error message.
| 15 | |
| 16 | // Alert displays an error message. |
| 17 | type Alert struct { |
| 18 | Err error |
| 19 | } |
| 20 | |
| 21 | func (r *Alert) Render(ctx context.Context, w io.Writer) { |
| 22 | if r.Err == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected