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

Struct admin

chapter5/listing60/listing60.go:30–33  ·  view source on GitHub ↗

admin represents an admin user with privileges.

Source from the content-addressed store, hash-verified

28
29// admin represents an admin user with privileges.
30type admin struct {
31 user
32 level string
33}
34
35// notify implements a method that can be called via
36// a value of type Admin.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected