MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / String

Method String

types/print.go:212–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210}
211
212func (v *MakeMap) String() string {
213 res := ""
214 if v.Reserve != nil {
215 res = relName(v.Reserve, v)
216 }
217 from := v.Parent().pkg()
218 return fmt.Sprintf("make %s %s", relType(v.Type(), from), res)
219}
220
221func (v *MakeChan) String() string {
222 from := v.Parent().pkg()

Callers

nothing calls this directly

Calls 5

relNameFunction · 0.85
relTypeFunction · 0.85
pkgMethod · 0.80
ParentMethod · 0.65
TypeMethod · 0.65

Tested by

no test coverage detected