func proxySNS(q *sqs.Queue, msgs []sqs.Message) { _, respErr := q.SendMessageBatch(msgs) if respErr != nil { log.Println("ERROR:", respErr) } }
func addToQuestionQ(msgList []sqs.Message, sqsQ sqs.Queue) { _, respErr := sqsQ.SendMessageBatch(msgList) if respErr != nil { log.Println("ERROR:", respErr) } }