Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ContentSquare/chproxy
/ newScopeID
Function
newScopeID
scope.go:31–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
func
newScopeID() scopeID {
32
sid := atomic.AddUint64(&nextScopeID, 1)
33
return
scopeID(sid)
34
}
35
36
var
nextScopeID = uint64(time.Now().UnixNano())
37
Callers
4
newScope
Function · 0.85
TestRunningQueries
Function · 0.85
TestDecorateRequest
Function · 0.85
testGetScope
Function · 0.85
Calls
1
scopeID
TypeAlias · 0.85
Tested by
3
TestRunningQueries
Function · 0.68
TestDecorateRequest
Function · 0.68
testGetScope
Function · 0.68