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

Interface notifier

chapter5/listing60/listing60.go:11–13  ·  view source on GitHub ↗

notifier is an interface that defined notification type behavior.

Source from the content-addressed store, hash-verified

9// notifier is an interface that defined notification
10// type behavior.
11type notifier interface {
12 notify()
13}
14
15// user defines a user in the program.
16type 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