feat: update extractor and transformer constructors to return Extractor interface
This commit is contained in:
@@ -19,7 +19,7 @@ type PostgresExtractor struct {
|
||||
db *pgxpool.Pool
|
||||
}
|
||||
|
||||
func NewPostgresExtractor(pool *pgxpool.Pool) *PostgresExtractor {
|
||||
func NewPostgresExtractor(pool *pgxpool.Pool) Extractor {
|
||||
return &PostgresExtractor{db: pool}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user