Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ timestampToInt
Function
timestampToInt
examples/advanced/main.go:48–50 ·
view source on GitHub ↗
(r baker.Record)
Source
from the content-addressed store, hash-verified
46
}
47
48
func
timestampToInt(r baker.Record) uint64 {
49
return
simpleHash(r, Timestamp)
50
}
51
52
func
sourceToInt(r baker.Record) uint64 {
53
return
simpleHash(r, Source)
Callers
nothing calls this directly
Calls
1
simpleHash
Function · 0.70
Tested by
no test coverage detected