MCPcopy Index your code
hub / github.com/dreamsofcode-io/nethttp / loadInvoices

Function loadInvoices

invoice/handler.go:55–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func loadInvoices() map[string]Invoice {
56 res := make(map[string]Invoice, len(invoices))
57
58 for _, x := range invoices {
59 res[strconv.Itoa(int(x.ID))] = x
60 }
61
62 return res
63}

Callers 1

FindByIDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected