MCPcopy Create free account
hub / github.com/goinaction/code / notify

Method notify

chapter5/listing48/listing48.go:34–38  ·  view source on GitHub ↗

notify implements the notifier interface with a pointer receiver.

()

Source from the content-addressed store, hash-verified

32
33// notify implements the notifier interface with a pointer receiver.
34func (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.
41func main() {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected