MCPcopy Index your code
hub / github.com/derekbanas/Go-Tutorial / Attack

Method Attack

hellogo.go:198–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196type Cat string
197
198func (c Cat) Attack() {
199 pl("Cat Attacks its Prey")
200}
201
202// Return the cats name with a type conversion
203func (c Cat) Name() string {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected