mirror of
https://github.com/nikoksr/notify.git
synced 2024-11-28 08:39:13 +02:00
using notify's style in object creation
Co-authored-by: Niko Köser <koeserniko@gmail.com>
This commit is contained in:
parent
247c1861b5
commit
8898e786b0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user