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

Struct admin

chapter5/listing48/listing48.go:28–31  ·  view source on GitHub ↗

admin defines a admin in the program.

Source from the content-addressed store, hash-verified

26
27// admin defines a admin in the program.
28type admin struct {
29 name string
30 email string
31}
32
33// notify implements the notifier interface with a pointer receiver.
34func (a *admin) notify() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected