Documentation ¶
Overview ¶
Package app is reponsible for executing the application's actions. It dosen't know anything about http, but it knows about the database.
Index ¶
- type App
- func (app *App) CreateFloorplan(name string) (*models.Floorplan, error)
- func (app *App) CreateSeat(floorplanID uint, label string, x, y int) (*models.Seat, error)
- func (app *App) GetAllFloorplansNameId() ([]models.Floorplan, error)
- func (app *App) GetFloorplan(id int) (*models.Floorplan, error)
- func (app *App) GetSeat(id int) (*models.Seat, error)
- func (app *App) LoadFloorplanSeats(floorplan *models.Floorplan) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func (*App) CreateFloorplan ¶
func (*App) CreateSeat ¶
func (*App) GetAllFloorplansNameId ¶
Click to show internal directories.
Click to hide internal directories.