code: func (c *Client) DeleteView(ctx context.Context, id platform.ID) error {
  	return c.db.Update(func(tx *bolt.Tx) error {
  		if pe := c.deleteView(ctx, tx, id); pe != nil {
  			return &platform.Error{
  				Err: pe,
  				Op:  getOp(platform.OpDeleteView),
  			}
  		}
  		return nil
  	})
  }
docs: // DeleteView deletes a view and prunes it from the index.