Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresRepository ¶
type PostgresRepository struct {
// contains filtered or unexported fields
}
func NewPostgresRepository ¶
func NewPostgresRepository(db *sql.DB) *PostgresRepository
func (*PostgresRepository) GetAllAircraft ¶
func (repo *PostgresRepository) GetAllAircraft() ([]models.Aircraft, error)
func (*PostgresRepository) GetAllAirports ¶
func (repo *PostgresRepository) GetAllAirports() ([]models.Airport, error)
Click to show internal directories.
Click to hide internal directories.