Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ SetLastReadTime
Method
SetLastReadTime
models/star.go:116–118 ·
view source on GitHub ↗
(uid, bid int)
Source
from the content-addressed store, hash-verified
114
}
115
116
func
(this *Star) SetLastReadTime(uid, bid int) {
117
orm.NewOrm().QueryTable(this).Filter(
"uid"
, uid).Filter(
"bid"
, bid).Update(orm.Params{
"last_read"
: time.Now().Unix()})
118
}
Callers
1
Add
Method · 0.80
Calls
1
Update
Method · 0.45
Tested by
no test coverage detected