code: func (cs caseList) deactivate(index int) caseList {
  	last := len(cs) - 1
  	cs[index], cs[last] = cs[last], cs[index]
  	return cs[:last]
  }
docs: // deactivate moves the case at index into the non-accessible portion of the cs slice.