Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gobyexample-cn/gobyexample
/ String
Method
String
examples/xml/xml.go:24–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
}
23
24
func
(p Plant) String() string {
25
return
fmt.Sprintf(
"Plant id=%v, name=%v, origin=%v"
,
26
p.Id, p.Name, p.Origin)
27
}
28
29
func
main() {
30
coffee := &Plant{Id: 27, Name:
"Coffee"
}
Callers
5
main
Function · 0.80
chromaFormat
Function · 0.80
main
Function · 0.80
main
Function · 0.80
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected