hotel

package
v0.0.0-...-91280e1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHotel

func AddHotel(env *beldilib.Env, hotelId string, cap int32)

func BaseReserveHotel

func BaseReserveHotel(env *beldilib.Env, hotelId string, userId string) bool

func ReserveHotel

func ReserveHotel(env *beldilib.Env, hotelId string, userId string) bool

Types

type Hotel

type Hotel struct {
	HotelId   string
	Cap       int32
	Customers []string
}

Jump to

Keyboard shortcuts

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