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