Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/BookStack
/ NewEbook
Function
NewEbook
models/ebook.go:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
)
52
53
func
NewEbook() *Ebook {
54
return
&Ebook{}
55
}
56
57
func
(m *Ebook) GetEBookByBookID(bookID int) (books []Ebook) {
58
if
bookID <= 0 {
Callers
5
Export
Method · 0.92
Index
Method · 0.92
Generate
Method · 0.92
RegisterModel
Function · 0.92
Init
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected