controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecognizePost

func RecognizePost(w http.ResponseWriter, r *http.Request)

func WelcomeGet

func WelcomeGet(w http.ResponseWriter, r *http.Request)

Types

type ErrorPageData

type ErrorPageData struct {
	Error string
}

type ResultPageData

type ResultPageData struct {
	Food struct {
		Name    string
		Calorie string
		Picture string
	}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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