Files
bl/modules/blazing/service/demo_sample.go
昔念 b93897f0a4 feat/modules: 更新模块引用并添加 Redis 配置
- 更新 go.work 文件,添加 modules 引用
- 修改 logic/main.go,增加 Redis 模式监听
- 更新 login/main.go,引入 modules 模块
- 修改 manifest/config/config.yaml,添加 Redis 配置信息
2025-06-23 12:24:23 +08:00

20 lines
285 B
Go

package service
import (
"blazing/cool"
"blazing/modules/blazing/model"
)
type DemoSampleService struct {
*cool.Service
}
func NewDemoSampleService() *DemoSampleService {
return &DemoSampleService{
&cool.Service{
Model: model.NewDemoSample(),
},
}
}