func (us userStore) RemoveAllQueue(eventID string) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []tQueue
	for k, v := range us.user {
		for _, id := range v.queues {
			if id.eventID == eventID {
				continue
			}
			ret = append(ret, id)
		}
		us.user[k].queues = ret
	}
}
// RemoveAllQueue will remove all events with a certain eventID from all users
RemoveAllQueue will remove all events with a certain eventID from all users
// RemoveAllQueue will remove all events with a certain eventID from all users
func (us userStore) RemoveAllQueue(eventID string) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []tQueue
	for k, v := range us.user {
		for _, id := range v.queues {
			if id.eventID == eventID {
				continue
			}
			ret = append(ret, id)
		}
		us.user[k].queues = ret
	}
}
func ( us userStore ) RemoveAllQueue ( eventID string ) { us . m . Lock ( ) defer us . m . Unlock ( ) var ret [ ] tQueue for k , v := range us . user { for _ , id := range v . queues { if id . eventID == eventID { continue } ret = append ( ret , id ) } us . user [ k ] . queues = ret } }
RemoveAllQueue will remove all events with a certain eventID from all users
RemoveAllQueue will remove all events with a certain eventID from all users