Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthCheckRepository ¶
func NewHealthCheckRepository(Conn *gorm.DB) HealthCheckInterface.IHealthCheckRepository
Define an exported function. Call this in main.go and bind your connection to the struct
Types ¶
type HealthCheckRepository ¶
Define your repository connection In this case, we use a SQL connection and use gorm as an ORM
func (*HealthCheckRepository) GetDBTimestamp ¶
func (m *HealthCheckRepository) GetDBTimestamp() models.HealthCheck
Click to show internal directories.
Click to hide internal directories.