MCPcopy Create free account
hub / github.com/TruthHun/BookStack / BookResult

Struct BookResult

models/book_result.go:17–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type BookResult struct {
18 BookId int `json:"book_id"`
19 BookName string `json:"book_name"`
20 Identify string `json:"identify"`
21 OrderIndex int `json:"order_index"`
22 Description string `json:"description"`
23 PrivatelyOwned int `json:"privately_owned"`
24 PrivateToken string `json:"private_token"`
25 DocCount int `json:"doc_count"`
26 CommentStatus string `json:"comment_status"`
27 CommentCount int `json:"comment_count"`
28 CreateTime time.Time `json:"create_time"`
29 CreateName string `json:"create_name"`
30 ModifyTime time.Time `json:"modify_time"`
31 Cover string `json:"cover"`
32 Theme string `json:"theme"`
33 Label string `json:"label"`
34 MemberId int `json:"member_id"`
35 Username int `json:"user_name"`
36 Editor string `json:"editor"`
37 RelationshipId int `json:"relationship_id"`
38 RoleId int `json:"role_id"`
39 RoleName string `json:"role_name"`
40 Status int
41 Vcnt int `json:"vcnt"`
42 Star int `json:"star"`
43 Score int `json:"score"`
44 CntComment int `json:"cnt_comment"`
45 CntScore int `json:"cnt_score"`
46 ScoreFloat string `json:"score_float"`
47 LastModifyText string `json:"last_modify_text"`
48 IsDisplayComment bool `json:"is_display_comment"`
49 Author string `json:"author"`
50 AuthorURL string `json:"author_url"`
51 AdTitle string `json:"ad_title"`
52 AdLink string `json:"ad_link"`
53 Lang string `json:"lang"`
54 Navs []BookNav `json:"navs"`
55}
56
57func NewBookResult() *BookResult {
58 return &BookResult{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected