code: func (e *Empire) DomainsCreate(ctx context.Context, domain *Domain) (*Domain, error) {
  	tx := e.db.Begin()
  
  	d, err := e.domains.DomainsCreate(ctx, tx, domain)
  	if err != nil {
  		tx.Rollback()
  		return d, err
  	}
  
  	if err := tx.Commit().Error; err != nil {
  		return d, err
  	}
  
  	return d, nil
  }
docs: // DomainsCreate adds a new Domain for an App.