1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-11-30 08:46:43 +02:00

using notify's style in object creation

Co-authored-by: Niko Köser <koeserniko@gmail.com>
This commit is contained in:
George Tourkas 2021-04-15 10:53:25 +03:00 committed by GitHub
parent 247c1861b5
commit 8898e786b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ type Service struct {
// New returns a new instance of a WeChat notification service.
func New(cfg Config) *Service {
wc := wechat.NewWechat()
client := wechat.NewWechat()
clientConfig := &config.Config{
AppID: cfg.AppID,
AppSecret: cfg.AppSecret,