func (cc *CardCollection) Validate() error {
	for cid := range cc.col {
		if _, _, _, err := parseCardID(cid); err != nil {
			return errors.Wrapf(err, "'%s'", cid)
		}
	}
	return nil
}
// Validate validates that all of the data in the card collection appears valid
// and self consistent. A nil return value means no errors were detected.
Validate validates that all of the data in the card collection appears valid
and self consistent. A nil return value means no errors were detected.
// Validate validates that all of the data in the card collection appears valid // and self consistent . A nil return value means no errors were detected .
func (cc *CardCollection) Validate() error {
	for cid := range cc.col {
		if _, _, _, err := parseCardID(cid); err != nil {
			return errors.Wrapf(err, "'%s'", cid)
		}
	}
	return nil
}
func ( cc * CardCollection ) Validate ( ) error { for cid := range cc . col { if _ , _ , _ , err := parseCardID ( cid ) ; err != nil { return errors . Wrapf ( err , " " , cid ) } } return nil }
Validate validates that all of the data in the card collection appears valid
and self consistent.
Validate validates that all of the data in the card collection appears valid and self consistent .