code: func MoveObjectTo(ref types.ManagedObjectReference, folder *object.Folder) error {
  	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
  	defer cancel()
  	task, err := folder.MoveInto(ctx, []types.ManagedObjectReference{ref})
  	if err != nil {
  		return err
  	}
  	tctx, tcancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
  	defer tcancel()
  	return task.Wait(tctx)
  }
docs: // MoveObjectTo moves a object by reference into a folder.