package healthcheck

import (
	"github.com/pingcap-inc/clinic/pkg/db/model"
)

// repository is the health check repository instance used by this package
// It can be replaced with a mock for testing
var repository model.HealthCheckRepository = model.NewHealthCheckDB()

// SetRepository sets the repository instance (for testing)
func SetRepository(repo model.HealthCheckRepository) {
	repository = repo
}
