Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
366
func
(m MaybeInt) String() string {
367
if
m.HasValue() {
368
return
strconv.Itoa(m.value)
369
}
370
371
return
m.Maybe.String()
372
}
373
374
func
(m MaybeFloat) String() string {
375
if
m.HasValue() {
Callers
nothing calls this directly
Calls
2
HasValue
Method · 0.80
String
Method · 0.45
Tested by
no test coverage detected