package
Version:
v0.0.0-...-a4a60e7
Opens a new window with list of versions in this module.
Published: Jun 25, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Category struct {
Name string `json:"name"`
TotalRestaurants int `json:"totalRestaurants"`
}
Category -- Model
type DefaultHandler struct{}
DefaultHandler -- Handle
func (*DefaultHandler) Index ¶
Index @ DefaultHandler
type Restaurant struct {
Name string `json:"name"`
Category Category `json:"category"`
}
Restaurant -- Model
Source Files
¶
Click to show internal directories.
Click to hide internal directories.