models

package
v0.0.0-...-f39640c Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reservation

type Reservation struct {
	FirstName string
	LastName  string
	Email     string
	Phone     string
}

type TemplateData

type TemplateData struct {
	StringMap map[string]string
	IntMap    map[string]int
	Float     map[string]float32
	Data      map[string]interface{}
	CSRFToken string
	FlashMsg  string
	ErrorMsg  string
	Warning   string
	Form      *forms.Form
}

TemplateData type holds necesary mappings for different types that will be usefull when send data to templates

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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