chore: seed migration objects batch 12

This commit is contained in:
dev
2026-10-18 13:25:17 +08:00
parent 31ce93c03d
commit 24f356c87c
282 changed files with 34372 additions and 0 deletions
@@ -0,0 +1,16 @@
// Package pubsub
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package pubsub
import (
"context"
"github.com/gogf/gf/v2/frame/g"
)
// Publish 推送消息
func Publish(ctx context.Context, channel string, message interface{}) (int64, error) {
return g.Redis().Publish(ctx, channel, message)
}