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

Method Name

hellogo.go:203–205  ·  view source on GitHub ↗

Return the cats name with a type conversion

()

Source from the content-addressed store, hash-verified

201
202// Return the cats name with a type conversion
203func (c Cat) Name() string {
204 return string(c)
205}
206
207func (c Cat) AngrySound() {
208 pl("Cat says Hissssss")

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected