package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 14, 2022
License: Apache-2.0
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
¶
type Auth struct {
Token string `json:"token"`
User User `json:"user"`
}
type Enviado struct {
TableId string `json:"table_id"`
Data string `json:"data"`
HoraInicio string `json:"hora_inicio"`
HoraFinal string `json:"hora_final"`
}
type Reserva struct {
TableId string `json:"table_id"`
DiaReservado string `json:"dia_reservado"`
HoraCoberta string `json:"hora_coberta"`
}
type Table struct {
Status bool `json:"status"`
Name string `json:"name"`
Id uint `json:"id" gorm:"primaryKey"`
}
type User struct {
Nome string `json:"nome"`
Email string `json:"email"`
Password string `json:"password"`
Id uint `json:"id" gorm:"primaryKey"`
}
type UserClaims struct {
User User `json:"user"`
jwt.StandardClaims
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.