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

Struct user

chapter5/listing60/listing60.go:16–19  ·  view source on GitHub ↗

user defines a user in the program.

Source from the content-addressed store, hash-verified

14
15// user defines a user in the program.
16type user struct {
17 name string
18 email string
19}
20
21// notify implements a method that can be called via
22// a value of type user.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected