func NewBundle(id, owner string) (*Bundle, error) {
	b := &Bundle{
		ID:       id,
		Owner:    owner,
		Created:  now().UTC(),
		Modified: now().UTC(),
	}
	if err := b.Validate(); err != nil {
		return nil, err
	}
	return b, nil
}
// NewBundle creates a new Bundle with the provided id and owner.
NewBundle creates a new Bundle with the provided id and owner.
// NewBundle creates a new Bundle with the provided id and owner .
func NewBundle(id, owner string) (*Bundle, error) {
	b := &Bundle{
		ID:       id,
		Owner:    owner,
		Created:  now().UTC(),
		Modified: now().UTC(),
	}
	if err := b.Validate(); err != nil {
		return nil, err
	}
	return b, nil
}
func NewBundle ( id , owner string ) ( * Bundle , error ) { b := & Bundle { ID : id , Owner : owner , Created : now ( ) . UTC ( ) , Modified : now ( ) . UTC ( ) , } if err := b . Validate ( ) ; err != nil { return nil , err } return b , nil }
NewBundle creates a new Bundle with the provided id and owner.
NewBundle creates a new Bundle with the provided id and owner .