update mockgen instructions

This commit is contained in:
Jason Kulatunga
2024-01-23 12:00:01 -08:00
committed by Aram Akhavan
parent 1c193aa043
commit 2aa242e364
+2
View File
@@ -9,6 +9,8 @@ import (
"github.com/analogj/scrutiny/webapp/backend/pkg/models/measurements"
)
// Create mock using:
// mockgen -source=webapp/backend/pkg/database/interface.go -destination=webapp/backend/pkg/database/mock/mock_database.go
type DeviceRepo interface {
Close() error
HealthCheck(ctx context.Context) error