The StartPass method

The StartPass method starts the passenger queue moving toward the ticket counter. The StartPass method on Queue sends messagePassStart to the message queue and queuePass receives the message. Passengers are moved into the queue as follows:

//StartPass ends the Pass Queue
func (Queue *Queue) StartPass() {
Queue.message <- messagePassStart
<-Queue.queuePass
}