MCPcopy Index your code
hub / github.com/dnote/dnote / PresentBooks

Function PresentBooks

pkg/server/presenters/book.go:45–54  ·  view source on GitHub ↗

PresentBooks presents books

(books []database.Book)

Source from the content-addressed store, hash-verified

43
44// PresentBooks presents books
45func PresentBooks(books []database.Book) []Book {
46 ret := []Book{}
47
48 for _, book := range books {
49 p := PresentBook(book)
50 ret = append(ret, p)
51 }
52
53 return ret
54}

Callers 2

V3IndexMethod · 0.92
TestPresentBooksFunction · 0.85

Calls 1

PresentBookFunction · 0.85

Tested by 1

TestPresentBooksFunction · 0.68