Files
picoclaw/pkg/channels/wecom/init.go
T
2026-03-24 20:23:29 +08:00

14 lines
319 B
Go

package wecom
import (
"github.com/sipeed/picoclaw/pkg/bus"
"github.com/sipeed/picoclaw/pkg/channels"
"github.com/sipeed/picoclaw/pkg/config"
)
func init() {
channels.RegisterFactory("wecom", func(cfg *config.Config, b *bus.MessageBus) (channels.Channel, error) {
return NewChannel(cfg.Channels.WeCom, b)
})
}