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

Interface notifier

chapter5/listing56/listing56.go:10–12  ·  view source on GitHub ↗

notifier is an interface that defined notification type behavior.

Source from the content-addressed store, hash-verified

8// notifier is an interface that defined notification
9// type behavior.
10type notifier interface {
11 notify()
12}
13
14// user defines a user in the program.
15type user struct {

Callers

nothing calls this directly

Implementers 8

userchapter5/listing50/listing50.go
userchapter5/listing56/listing56.go
userchapter5/listing48/listing48.go
adminchapter5/listing48/listing48.go
userchapter5/listing60/listing60.go
adminchapter5/listing60/listing60.go
userchapter5/listing11/listing11.go
userchapter5/listing36/listing36.go

Calls

no outgoing calls

Tested by

no test coverage detected