notify implements a method that can be called via a value of type Admin.
()
| 35 | // notify implements a method that can be called via |
| 36 | // a value of type Admin. |
| 37 | func (a *admin) notify() { |
| 38 | fmt.Printf("Sending admin email to %s<%s>\n", |
| 39 | a.name, |
| 40 | a.email) |
| 41 | } |
| 42 | |
| 43 | // main is the entry point for the application. |
| 44 | func main() { |