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

Method notify

chapter5/listing60/listing60.go:37–41  ·  view source on GitHub ↗

notify implements a method that can be called via a value of type Admin.

()

Source from the content-addressed store, hash-verified

35// notify implements a method that can be called via
36// a value of type Admin.
37func (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.
44func main() {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected