From 4167bec54725cbe19a0dee9a00991b4345f832bc Mon Sep 17 00:00:00 2001 From: George Tourkas Date: Thu, 15 Apr 2021 10:52:58 +0300 Subject: [PATCH] using notify's style in object creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Niko Köser --- service/wechat/wechat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/wechat/wechat.go b/service/wechat/wechat.go index 43f5a3a..55150eb 100644 --- a/service/wechat/wechat.go +++ b/service/wechat/wechat.go @@ -45,7 +45,7 @@ func New(cfg Config) *Service { Cache: cache.NewMemory(), } - oa := wc.GetOfficialAccount(wcCfg) + account := wc.GetOfficialAccount(wcCfg) return &Service{ config: cfg,