From 4224c691ed50bb32eb000a9ea08aee1f13778119 Mon Sep 17 00:00:00 2001 From: Vincent Toms Date: Tue, 24 Oct 2017 13:36:20 -0400 Subject: [PATCH] Update main.go Fix the main --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index a2f415e..6990b14 100644 --- a/main.go +++ b/main.go @@ -38,6 +38,8 @@ type PushRequest struct { Extra string `json:"extra"` } + +// this is the worker func worker(input <-chan notification, cert tls.Certificate, topic string, production bool) { // TODO pass in environment client := apns.NewClient(cert)