Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/biningo/note-gin
/ StrToInt
Function
StrToInt
pkg/utils/StrToInt.go:8–14 ·
view source on GitHub ↗
(val string)
Source
from the content-addressed store, hash-verified
6
)
7
8
func
StrToInt(val string) int {
9
v1, err := strconv.ParseInt(val, 10, 64)
10
if
err != nil {
11
log.Println(err)
12
}
13
return
int(v1)
14
}
Callers
8
GetArticleByPage
Function · 0.92
GetSubFile
Function · 0.92
DeleteBook
Function · 0.92
GetSubFolders
Function · 0.92
Delete
Function · 0.92
GetArticleDetail
Function · 0.92
Delete
Function · 0.92
ArticleRecover
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected