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

Method String

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

Source from the content-addressed store, hash-verified

372}
373
374func (m MaybeFloat) String() string {
375 if m.HasValue() {
376 return fmt.Sprintf("%f", m.value)
377 }
378
379 return m.Maybe.String()
380}

Callers

nothing calls this directly

Calls 2

HasValueMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected