MCPcopy 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
43func NewBookmark() *Bookmark {
44 return &Bookmark{}
45}
46
47//添加或移除书签(如果书签不存在,则添加书签,如果书签存在,则移除书签)
48func (m *Bookmark) InsertOrDelete(uid, docId int) (insert bool, err error) {

Callers 4

GetBookmarksMethod · 0.92
SetBookmarksMethod · 0.92
DeleteBookmarksMethod · 0.92
ReadMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected