notify implements a method with a pointer receiver.
()
| 19 | |
| 20 | // notify implements a method with a pointer receiver. |
| 21 | func (u *user) notify() { |
| 22 | fmt.Printf("Sending user email to %s<%s>\n", |
| 23 | u.name, |
| 24 | u.email) |
| 25 | } |
| 26 | |
| 27 | // main is the entry point for the application. |
| 28 | func main() { |
nothing calls this directly
no outgoing calls
no test coverage detected