Skip to content

Commit

Permalink
update mockgen instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ authored and kaysond committed Feb 4, 2024
1 parent 1c193aa commit 2aa242e
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 2aa242e

Please sign in to comment.