Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devld/go-drive
/ ToInt
Function
ToInt
common/utils/utils.go:164–166 ·
view source on GitHub ↗
(s string, def int)
Source
from the content-addressed store, hash-verified
162
}
163
164
func
ToInt(s string, def int) int {
165
return
types.SV(s).Int(def)
166
}
167
168
func
ToUInt(s string, def uint) uint {
169
return
types.SV(s).Uint(def)
Callers
4
mapError
Function · 0.92
search
Method · 0.92
getAllExecutions
Method · 0.92
executeJob
Method · 0.92
Calls
2
SV
TypeAlias · 0.92
Int
Method · 0.80
Tested by
no test coverage detected