MCPcopy Create free account
hub / github.com/Soypete/Production-Go-Examples / Do

Method Do

quiz-questions/question6/main.go:7–9  ·  view source on GitHub ↗
(printThis string)

Source from the content-addressed store, hash-verified

5type ExampleStruct struct{}
6
7func (s *ExampleStruct) Do(printThis string) {
8 fmt.Printf("Print: %s\n", printThis)
9}
10
11type DoerOfThings interface {
12 Do(string)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected