code: func (c *Client) CreateView(ctx context.Context, d *platform.View) error {
  	return c.db.Update(func(tx *bolt.Tx) error {
  		if pe := c.createView(ctx, tx, d); pe != nil {
  			return &platform.Error{
  				Op:  getOp(platform.OpCreateView),
  				Err: pe,
  			}
  		}
  		return nil
  	})
  }
docs: // CreateView creates a platform view and sets d.ID.