notify implements a method that can be called via a value of type user.
()
| 21 | // notify implements a method that can be called via |
| 22 | // a value of type user. |
| 23 | func (u *user) notify() { |
| 24 | fmt.Printf("Sending user email to %s<%s>\n", |
| 25 | u.name, |
| 26 | u.email) |
| 27 | } |
| 28 | |
| 29 | // admin represents an admin user with privileges. |
| 30 | type admin struct { |
nothing calls this directly
no outgoing calls
no test coverage detected