Discover Packages
github.com/stefanhans/gcp-serverless-b8e-play
Play
firebase
commandline
types
package
Version:
v0.0.0-...-d705cfe
Opens a new window with list of versions in this module.
Published: Jan 11, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Booking struct {
DocId string `firestore:"doc-id"`
User string `firestore:"user"`
Vehicle string `firestore:"vehicle"`
VehicleType string `firestore:"vehicle-type"`
VehicleStatus string `firestore:"vehicle-status"`
ParkingLot string `firestore:"parking-lot"`
From time .Time `firestore:"from"`
To time .Time `firestore:"to"`
Status string `firestore:"status"`
StatusTime time .Time `firestore:"status-time"`
}
type MasterData struct {
Users []User `firestore:"users"`
Vehicles []Vehicle `firestore:"vehicles"`
Bookings []Booking `firestore:"bookings"`
From time .Time `firestore:"from"`
To time .Time `firestore:"to"`
Status string `firestore:"status"`
StatusTime time .Time `firestore:"status-time"`
}
type User struct {
DocId string `firestore:"doc-id"`
Name string `firestore:"name"`
Type string `firestore:"type"`
Status string `firestore:"status"`
Description string `firestore:"description"`
}
type Vehicle struct {
DocId string `firestore:"doc-id"`
Name string `firestore:"name"`
Type string `firestore:"type"`
Status string `firestore:"status"`
ParkingLot string `firestore:"parking-lot"`
GeoPoint *latlng .LatLng `firestore:"geopoint"`
Description string `firestore:"description"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.