Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
203
func
(c Cat) Name() string {
204
return
string(c)
205
}
206
207
func
(c Cat) AngrySound() {
208
pl(
"Cat says Hissssss"
)
Callers
1
main
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected