code: func (c *Client) FindLabels(ctx context.Context, filter platform.LabelFilter, opt ...platform.FindOptions) ([]*platform.Label, error) {
  	ls := []*platform.Label{}
  	err := c.db.View(func(tx *bolt.Tx) error {
  		labels, err := c.findLabels(ctx, tx, filter)
  		if err != nil {
  			return err
  		}
  		ls = labels
  		return nil
  	})
  
  	if err != nil {
  		return nil, err
  	}
  
  	return ls, nil
  }
docs: // func (c *Client) findLabel(ctx context.Context, tx *bolt.Tx, resourceID platform.ID, name string) (*platform.Label, error) {
  // 	key, err := labelKey(&platform.Label{ResourceID: resourceID, Name: name})
  // 	if err != nil {
  // 		return nil, err
  // 	}
  //
  // 	l := &platform.Label{}
  // 	v := tx.Bucket(labelBucket).Get(key)
  // 	if err := json.Unmarshal(v, l); err != nil {
  // 		return nil, err
  // 	}
  //
  // 	return l, nil
  // }
  // FindLabels returns a list of labels that match a filter.