add channel-specific build variants

This commit is contained in:
lpf
2026-03-10 14:18:29 +08:00
parent c7b159d2ed
commit 4a1b5f27e4
23 changed files with 608 additions and 173 deletions

View 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")
}