MCPcopy Create free account
hub / github.com/Banrai/PiScan / getItems

Function getItems

client/ui/ui.go:134–215  ·  view source on GitHub ↗

* General db access functions */ getItems returns a list of scanned or favorited products, and the correct corresponding options for the HTML page template

(w http.ResponseWriter, r *http.Request, dbCoords database.ConnCoordinates, favorites bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ScannedItemsFunction · 0.85
FavoritedItemsFunction · 0.85

Calls 1

renderItemListTemplateFunction · 0.85

Tested by

no test coverage detected