// NewBanksDB creates BanksDB for given countries.
NewBanksDB creates BanksDB for given countries.
// NewBanksDB creates BanksDB for given countries .
func NewBanksDB(countries ...Country) BanksDB {
	banksDB := &banksDBImpl{
		prefixToBank: make(map[int]*Bank),
	}
	for _, country := range countries {
		banks := banksByCountry[country]
		banksDB.addBanksToDB(banks)
	}
	return banksDB
}
func NewBanksDB ( countries ... Country ) BanksDB { banksDB := & banksDBImpl { prefixToBank : make ( map [ int ] * Bank ) , } for _ , country := range countries { banks := banksByCountry [ country ] banksDB . addBanksToDB ( banks ) } return banksDB }
NewBanksDB creates BanksDB for given countries.
NewBanksDB creates BanksDB for given countries .