code: func (c *Client) FindDashboard(ctx context.Context, filter platform.DashboardFilter) (*platform.Dashboard, error) {
  	if len(filter.IDs) == 1 {
  		return c.FindDashboardByID(ctx, *filter.IDs[0])
  	}
  
  	var d *platform.Dashboard
  	err := c.db.View(func(tx *bolt.Tx) error {
  		filterFn := filterDashboardsFn(filter)
  		return c.forEachDashboard(ctx, tx, func(dash *platform.Dashboard) bool {
  			if filterFn(dash) {
  				d = dash
  				return false
  			}
  			return true
  		})
  	})
  
  	if err != nil {
  		return nil, err
  	}
  
  	if d == nil {
  		return nil, &platform.Error{
  			Code: platform.ENotFound,
  			Msg:  platform.ErrDashboardNotFound,
  		}
  	}
  
  	return d, nil
  }
docs: // FindDashboard retrieves a dashboard using an arbitrary dashboard filter.