form

package
v0.0.0-...-8339bdc Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CityForm

type CityForm struct {
	ID            int    `json:"id"`
	City          string `json:"city"`
	Photo         string `json:"photo"`
	GooglePlaceID string `json:"google_place_id"`
}

CityForm represent the city request model

type DestinationForm

type DestinationForm struct {
	ID               int      `json:"id"`
	Name             string   `json:"name"`
	Photo            string   `json:"photo"`
	Overview         string   `json:"overview"`
	TouristAgreement string   `json:"tourist_agreement"`
	Duration         int      `json:"duration"`
	Latitude         float64  `json:"latitude"`
	Longitude        float64  `json:"longitude"`
	MarkerIcon       string   `json:"marker_icon"`
	Categories       string   `json:"categories"`
	Rate             float64  `json:"rate"`
	Active           int      `json:"active"`
	City             CityForm `json:"city"`
}

DestinationForm represent the destination request model

Jump to

Keyboard shortcuts

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