Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Database *gorm.DB
Functions ¶
func SetupDatabase ¶
func SetupDatabase()
Types ¶
type HouseRepository ¶
type HouseRepository struct { }
func (*HouseRepository) FetchAll ¶
func (r *HouseRepository) FetchAll() []models.House
func (*HouseRepository) FindByTitle ¶
func (r *HouseRepository) FindByTitle(title string) []models.House
type Repository ¶
type Repository struct { }
func (*Repository) FetchAll ¶
func (r *Repository) FetchAll()
Click to show internal directories.
Click to hide internal directories.