notify implements the notifier interface with a pointer receiver.
()
| 32 | |
| 33 | // notify implements the notifier interface with a pointer receiver. |
| 34 | func (a *admin) notify() { |
| 35 | fmt.Printf("Sending admin email to %s<%s>\n", |
| 36 | a.name, |
| 37 | a.email) |
| 38 | } |
| 39 | |
| 40 | // main is the entry point for the application. |
| 41 | func main() { |