Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/OpenListTeam/OpenList
/ GetFloat
Function
GetFloat
internal/setting/setting.go:32–38 ·
view source on GitHub ↗
(key string, defaultVal float64)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
GetFloat(key string, defaultVal float64) float64 {
33
f, err := strconv.ParseFloat(GetStr(key), 64)
34
if
err != nil {
35
return
defaultVal
36
}
37
return
f
38
}
Callers
1
HookAndRemove
Function · 0.92
Calls
1
GetStr
Function · 0.70
Tested by
no test coverage detected