code: func (s *StorageOverseer) Regenerate(w http.ResponseWriter, r *http.Request) error {
  	id, err := s.options.getCookieValue(w, r)
  	if err != nil {
  		return errors.Wrap(err, "unable to get session id from cookie")
  	}
  
  	val, err := s.Storer.Get(id)
  	if err != nil {
  		return errors.Wrap(err, "unable to get session value")
  	}
  
  	// Delete the old session
  	_ = s.Storer.Del(id)
  
  	// Generate a new ID
  	id = uuid.NewV4().String()
  
  	// Create a new session with the old value
  	if err = s.Storer.Set(id, val); err != nil {
  		return errors.Wrap(err, "unable to set session value")
  	}
  
  	// Override the old cookie with the new cookie
  	w.(cookieWriter).SetCookie(s.options.makeCookie(id))
  
  	return nil
  }
docs: // Regenerate a new session ID for your current session