Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CovenantSQL/CovenantSQL
/ getUserID
Function
getUserID
cmd/cql-proxy/api/utils.go:62–64 ·
view source on GitHub ↗
(c *gin.Context)
Source
from the content-addressed store, hash-verified
60
}
61
62
func
getUserID(c *gin.Context) int64 {
63
return
getSession(c).MustGetInt(
"user_id"
)
64
}
65
66
func
getAdminAuth(c *gin.Context) *auth.AdminAuth {
67
return
c.MustGet(
"auth"
).(*auth.AdminAuth)
Callers
2
getUserInfo
Function · 0.85
buildExecuteContext
Function · 0.85
Calls
2
getSession
Function · 0.85
MustGetInt
Method · 0.80
Tested by
no test coverage detected