Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhu Rengen committed Nov 12, 2019
1 parent 20bc86e commit 034b8fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"log"
"net/http"
"os"
"time"
)

var logger = logrus.New()
Expand Down Expand Up @@ -34,6 +35,10 @@ func init() {
os.Exit(0)
}
config = loadConfig()
wechatWork = &WechatWork{config, ""}
wechatWork = &WechatWork{
Config: config,
Token: "",
ExpiredAt: time.Time{},
}
}

0 comments on commit 034b8fe

Please sign in to comment.