Skip to content

Commit 5025c1a

Browse files
remove unused attribute
1 parent ff8f0d2 commit 5025c1a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

db/multi_database.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
)
99

1010
type MultiDatabaseRepository struct {
11-
dbs []*sql.DB
1211
concurrentRepositories []*concurrentRepository
1312
// roundRobin strategy to choose one writer
1413
currentWriter int
@@ -30,7 +29,6 @@ func NewMultiDatabaseRepository(dbs []*sql.DB) (*MultiDatabaseRepository, error)
3029
concurrentRepositories[i] = cr
3130
}
3231
return &MultiDatabaseRepository{
33-
dbs: dbs,
3432
concurrentRepositories: concurrentRepositories,
3533
}, nil
3634
}

0 commit comments

Comments
 (0)