Move queue to queue.go