Skip to content

Commit

Permalink
update mockgen instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jan 23, 2024
1 parent e57f607 commit f5326b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webapp/backend/pkg/database/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5326b2

Please sign in to comment.