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

Method String

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

Source from the content-addressed store, hash-verified

348}
349
350func (m MaybeString) String() string {
351 if m.HasValue() {
352 return m.value
353 }
354
355 return m.Maybe.String()
356}
357
358func (m MaybeBool) String() string {
359 if m.HasValue() {

Callers

nothing calls this directly

Calls 2

HasValueMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected