Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ NewBookmark
Function
NewBookmark
models/bookmarks.go:43–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
func
NewBookmark() *Bookmark {
44
return
&Bookmark{}
45
}
46
47
//添加或移除书签(如果书签不存在,则添加书签,如果书签存在,则移除书签)
48
func
(m *Bookmark) InsertOrDelete(uid, docId int) (insert bool, err error) {
Callers
4
GetBookmarks
Method · 0.92
SetBookmarks
Method · 0.92
DeleteBookmarks
Method · 0.92
Read
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected