Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportJSONHandler ¶
func ExportJSONHandler(app core.App) func(e *core.RequestEvent) error
ExportJSONHandler returns an Echo handler function that exports JSON based on start and end datetime
func TestHandler ¶
func TestHandler(app core.App) func(e *core.RequestEvent) error
Types ¶
type ExportData ¶
type ExportData struct { Filter FilterData `json:"filter"` Products []map[string]interface{} `json:"products"` MenuItems []map[string]interface{} `json:"menu_items"` Orders []map[string]interface{} `json:"orders"` Payments []map[string]interface{} `json:"payments"` }
Click to show internal directories.
Click to hide internal directories.