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

Struct admin

chapter5/listing50/listing50.go:24–27  ·  view source on GitHub ↗

admin represents an admin user with privileges.

Source from the content-addressed store, hash-verified

22
23// admin represents an admin user with privileges.
24type admin struct {
25 user // Embedded Type
26 level string
27}
28
29// main is the entry point for the application.
30func main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected