MCPcopy Create free account
hub / github.com/cloudwan/gohan / String

Method String

extension/goext/types.go:366–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364}
365
366func (m MaybeInt) String() string {
367 if m.HasValue() {
368 return strconv.Itoa(m.value)
369 }
370
371 return m.Maybe.String()
372}
373
374func (m MaybeFloat) String() string {
375 if m.HasValue() {

Callers

nothing calls this directly

Calls 2

HasValueMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected