Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
350
func
(m MaybeString) String() string {
351
if
m.HasValue() {
352
return
m.value
353
}
354
355
return
m.Maybe.String()
356
}
357
358
func
(m MaybeBool) String() string {
359
if
m.HasValue() {
Callers
nothing calls this directly
Calls
2
HasValue
Method · 0.80
String
Method · 0.45
Tested by
no test coverage detected