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

Struct BookScoresResult

models/comments.go:204–209  ·  view source on GitHub ↗

评分内容

Source from the content-addressed store, hash-verified

202
203//评分内容
204type BookScoresResult struct {
205 Avatar string `json:"avatar"`
206 Nickname string `json:"nickname"`
207 Score string `json:"score"`
208 TimeCreate time.Time `json:"time_create"` //评论时间
209}
210
211//获取评分内容
212func (this *Score) BookScores(p, listRows, bookId int) (scores []BookScoresResult, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected