func NewCard(theme string, model uint32, id string) (*Card, error) {
	c := &Card{
		ID:       id,
		Created:  now().UTC(),
		Modified: now().UTC(),
		ModelID:  fmt.Sprintf("%s/%d", theme, model),
	}
	if err := c.Validate(); err != nil {
		return nil, errors.Wrap(err, "validation failure")
	}
	return c, nil
}
// NewCard returns a new Card instance, with the requested id
NewCard returns a new Card instance, with the requested id
// NewCard returns a new Card instance with the requested id
func NewCard(theme string, model uint32, id string) (*Card, error) {
	c := &Card{
		ID:       id,
		Created:  now().UTC(),
		Modified: now().UTC(),
		ModelID:  fmt.Sprintf("%s/%d", theme, model),
	}
	if err := c.Validate(); err != nil {
		return nil, errors.Wrap(err, "validation failure")
	}
	return c, nil
}
func NewCard ( theme string , model uint32 , id string ) ( * Card , error ) { c := & Card { ID : id , Created : now ( ) . UTC ( ) , Modified : now ( ) . UTC ( ) , ModelID : fmt . Sprintf ( " " , theme , model ) , } if err := c . Validate ( ) ; err != nil { return nil , errors . Wrap ( err , " " ) } return c , nil }
NewCard returns a new Card instance, with the requested id
NewCard returns a new Card instance with the requested id