Documentation ¶
Index ¶
- func CreateFood(response http.ResponseWriter, request *http.Request)
- func CreateInvoice(response http.ResponseWriter, request *http.Request)
- func CreateMenu(response http.ResponseWriter, request *http.Request)
- func CreateOrder(response http.ResponseWriter, request *http.Request)
- func CreateOrderItem(response http.ResponseWriter, request *http.Request)
- func CreateTable(response http.ResponseWriter, request *http.Request)
- func GetFood(response http.ResponseWriter, request *http.Request)
- func GetFoods(response http.ResponseWriter, request *http.Request)
- func GetInvoice(response http.ResponseWriter, request *http.Request)
- func GetInvoices(response http.ResponseWriter, request *http.Request)
- func GetMenu(response http.ResponseWriter, request *http.Request)
- func GetMenus(response http.ResponseWriter, request *http.Request)
- func GetOrder(response http.ResponseWriter, request *http.Request)
- func GetOrderItem(response http.ResponseWriter, request *http.Request)
- func GetOrderItems(response http.ResponseWriter, request *http.Request)
- func GetOrderItemsByOrder(response http.ResponseWriter, request *http.Request)
- func GetOrders(response http.ResponseWriter, request *http.Request)
- func GetTable(response http.ResponseWriter, request *http.Request)
- func GetTables(response http.ResponseWriter, request *http.Request)
- func ItemsByOrder(id string) (OrderItems []primitive.M, err error)
- func OrderItemOrderCreator(order models.Order) string
- func UpdateFood(response http.ResponseWriter, request *http.Request)
- func UpdateInvoice(response http.ResponseWriter, request *http.Request)
- func UpdateMenu(response http.ResponseWriter, request *http.Request)
- func UpdateOrder(response http.ResponseWriter, request *http.Request)
- func UpdateOrderItem(response http.ResponseWriter, request *http.Request)
- func UpdateTable(response http.ResponseWriter, request *http.Request)
- type InvoiceViewFormat
- type OrderItemPack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFood ¶
func CreateFood(response http.ResponseWriter, request *http.Request)
CreateFood for creating foods
func CreateInvoice ¶
func CreateInvoice(response http.ResponseWriter, request *http.Request)
CreateInvoice for creating invoices
func CreateMenu ¶
func CreateMenu(response http.ResponseWriter, request *http.Request)
CreateMenu for creating menus
func CreateOrder ¶
func CreateOrder(response http.ResponseWriter, request *http.Request)
CreateOrder for creating orders
func CreateOrderItem ¶
func CreateOrderItem(response http.ResponseWriter, request *http.Request)
CreateOrderItem for creating orderItems
func CreateTable ¶
func CreateTable(response http.ResponseWriter, request *http.Request)
CreateTable for creating tables
func GetFood ¶
func GetFood(response http.ResponseWriter, request *http.Request)
GetFood is the api used to tget a single food
func GetFoods ¶
func GetFoods(response http.ResponseWriter, request *http.Request)
GetFoods is the api used to get a multiple foods
func GetInvoice ¶
func GetInvoice(response http.ResponseWriter, request *http.Request)
GetInvoice is the api used to tget a single invoice
func GetInvoices ¶
func GetInvoices(response http.ResponseWriter, request *http.Request)
GetInvoices is the api used to get a multiple invoices
func GetMenu ¶
func GetMenu(response http.ResponseWriter, request *http.Request)
GetMenu is the api used to tget a single menu
func GetMenus ¶
func GetMenus(response http.ResponseWriter, request *http.Request)
GetMenus is the api used to get a multiple menus
func GetOrder ¶
func GetOrder(response http.ResponseWriter, request *http.Request)
GetOrder is the api used to tget a single order
func GetOrderItem ¶
func GetOrderItem(response http.ResponseWriter, request *http.Request)
GetOrderItem is the api used to tget a single orderItem
func GetOrderItems ¶
func GetOrderItems(response http.ResponseWriter, request *http.Request)
GetOrderItems is the api used to get a multiple orderItems
func GetOrderItemsByOrder ¶
func GetOrderItemsByOrder(response http.ResponseWriter, request *http.Request)
GetOrderItems is the api used to get a multiple orderItems
func GetOrders ¶
func GetOrders(response http.ResponseWriter, request *http.Request)
GetOrders is the api used to get a multiple orders
func GetTable ¶
func GetTable(response http.ResponseWriter, request *http.Request)
GetTable is the api used to tget a single table
func GetTables ¶
func GetTables(response http.ResponseWriter, request *http.Request)
GetTables is the api used to get a multiple tables
func OrderItemOrderCreator ¶
OrderItemOrderCreator is for creating orders for the order items
func UpdateFood ¶
func UpdateFood(response http.ResponseWriter, request *http.Request)
UpdateFood is used to update foods
func UpdateInvoice ¶
func UpdateInvoice(response http.ResponseWriter, request *http.Request)
UpdateInvoice is used to update invoices
func UpdateMenu ¶
func UpdateMenu(response http.ResponseWriter, request *http.Request)
UpdateMenu is used to update menus
func UpdateOrder ¶
func UpdateOrder(response http.ResponseWriter, request *http.Request)
UpdateOrder is used to update orders
func UpdateOrderItem ¶
func UpdateOrderItem(response http.ResponseWriter, request *http.Request)
UpdateOrderItem is used to update orderItems
func UpdateTable ¶
func UpdateTable(response http.ResponseWriter, request *http.Request)
UpdateTable is used to update tables