sendNotification accepts values that implement the notifier interface and sends notifications.
(n notifier)
| 51 | // sendNotification accepts values that implement the notifier |
| 52 | // interface and sends notifications. |
| 53 | func sendNotification(n notifier) { |
| 54 | n.notify() |
| 55 | } |