func Send(m Message, out chan<- Message, debug bool, log log.Logger) {
	if debug {
		id := rand.Int()
		log.Printf("[id: %v] sending message: %v", id, m)
		defer log.Printf("[id: %v] message sent", id)
	}
	out <- m
}
// Send is a utility function for sending messages. out on.
// When debugging, it prints a message before and after the message is sent to help identify deadlocks
Send is a utility function for sending messages. out on.
When debugging, it prints a message before and after the message is sent to help identify deadlocks
// Send is a utility function for sending messages . out on . // When debugging it prints a message before and after the message is sent to help identify deadlocks
func Send(m Message, out chan<- Message, debug bool, log log.Logger) {
	if debug {
		id := rand.Int()
		log.Printf("[id: %v] sending message: %v", id, m)
		defer log.Printf("[id: %v] message sent", id)
	}
	out <- m
}
func Send ( m Message , out chan <- Message , debug bool , log log . Logger ) { if debug { id := rand . Int ( ) log . Printf ( " " , id , m ) defer log . Printf ( " " , id ) } out <- m }
Send is a utility function for sending messages.
Send is a utility function for sending messages .