mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-19 07:33:23 +08:00
add channel-specific build variants
This commit is contained in:
14
pkg/channels/feishu_stub.go
Normal file
14
pkg/channels/feishu_stub.go
Normal file
@@ -0,0 +1,14 @@
|
||||
//go:build omit_feishu
|
||||
|
||||
package channels
|
||||
|
||||
import (
|
||||
"github.com/YspCoder/clawgo/pkg/bus"
|
||||
"github.com/YspCoder/clawgo/pkg/config"
|
||||
)
|
||||
|
||||
type FeishuChannel struct{ disabledChannel }
|
||||
|
||||
func NewFeishuChannel(cfg config.FeishuConfig, bus *bus.MessageBus) (*FeishuChannel, error) {
|
||||
return nil, errChannelDisabled("feishu")
|
||||
}
|
||||
Reference in New Issue
Block a user