handlers

package
v0.0.0-...-a4a60e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	Name             string `json:"name"`
	TotalRestaurants int    `json:"totalRestaurants"`
}

Category -- Model

type DefaultHandler

type DefaultHandler struct{}

DefaultHandler -- Handle

func (*DefaultHandler) Index

func (h *DefaultHandler) Index(c *routing.Context) error

Index @ DefaultHandler

type Restaurant

type Restaurant struct {
	Name     string   `json:"name"`
	Category Category `json:"category"`
}

Restaurant -- Model

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL