urlgenerators

package
v0.0.0-...-6307f30 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFlightsAndHotelsURLs

func GenerateFlightsAndHotelsURLs(origin model.OriginInfo, destinationsWithUrls []model.DestinationInfo) []model.DestinationInfo

Types

type Destination

type Destination struct {
	IATACode string `json:"IATA_code"`
	CityName string `json:"city_name"`
}

Define a struct for the JSON data

Jump to

Keyboard shortcuts

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