code: func (c *Client) FindView(ctx context.Context, filter platform.ViewFilter) (*platform.View, error) {
  	if filter.ID != nil {
  		return c.FindViewByID(ctx, *filter.ID)
  	}
  
  	var d *platform.View
  	err := c.db.View(func(tx *bolt.Tx) error {
  		filterFn := filterViewsFn(filter)
  		return c.forEachView(ctx, tx, func(dash *platform.View) bool {
  			if filterFn(dash) {
  				d = dash
  				return false
  			}
  			return true
  		})
  	})
  
  	if err != nil {
  		return nil, &platform.Error{
  			Err: err,
  		}
  	}
  
  	if d == nil {
  		return nil, &platform.Error{
  			Code: platform.ENotFound,
  			Msg:  platform.ErrViewNotFound,
  		}
  	}
  
  	return d, nil
  }
docs: // FindView retrieves a view using an arbitrary view filter.