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

Struct namePrinter

chapter7/patterns/work/main/main.go:23–25  ·  view source on GitHub ↗

namePrinter provides special support for printing names.

Source from the content-addressed store, hash-verified

21
22// namePrinter provides special support for printing names.
23type namePrinter struct {
24 name string
25}
26
27// Task implements the Worker interface.
28func (m *namePrinter) Task() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected