code: func (e *containerByIDIndexer) FromObject(obj interface{}) (bool, []byte, error) {
  	c, ok := obj.(*Container)
  	if !ok {
  		return false, nil, fmt.Errorf("%T is not a Container", obj)
  	}
  	// Add the null character as a terminator
  	v := c.ID + "\x00"
  	return true, []byte(v), nil
  }
docs: // FromObject implements the memdb.SingleIndexer interface for Container objects