func NewCardRepository() (repository.CardRepository, error) {
	dialInfo := getDialInfo()
	connection, err := bongo.Connect(&bongo.Config{DialInfo: dialInfo})
	return &cardRepository{connection}, err
}
// NewCardRepository creates a new instance of repository.CardRepository

NewCardRepository creates a new instance of repository.CardRepository
// NewCardRepository creates a new instance of repository . CardRepository
func NewCardRepository() (repository.CardRepository, error) {
	dialInfo := getDialInfo()
	connection, err := bongo.Connect(&bongo.Config{DialInfo: dialInfo})
	return &cardRepository{connection}, err
}
func NewCardRepository ( ) ( repository . CardRepository , error ) { dialInfo := getDialInfo ( ) connection , err := bongo . Connect ( & bongo . Config { DialInfo : dialInfo } ) return & cardRepository { connection } , err }
NewCardRepository creates a new instance of repository.CardRepository
NewCardRepository creates a new instance of repository . CardRepository