code: func (l *lockServer) removeEntry(name, uid string, lri *[]lockRequesterInfo) bool {
  	// Find correct entry to remove based on uid
  	for index, entry := range *lri {
  		if entry.uid == uid {
  			if len(*lri) == 1 {
  				delete(l.lockMap, name) // Remove the (last) lock
  			} else {
  				// Remove the appropriate read lock
  				*lri = append((*lri)[:index], (*lri)[index+1:]...)
  				l.lockMap[name] = *lri
  			}
  			return true
  		}
  	}
  	return false
  }
docs: // removeEntry either, based on the uid of the lock message, removes a single entry from the
  // lockRequesterInfo array or the whole array from the map (in case of a write lock or last read lock)