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

Struct admin

chapter5/listing56/listing56.go:29–32  ·  view source on GitHub ↗

admin represents an admin user with privileges.

Source from the content-addressed store, hash-verified

27
28// admin represents an admin user with privileges.
29type admin struct {
30 user
31 level string
32}
33
34// main is the entry point for the application.
35func main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected