StreamBox/internal/repo/ping.go

9 lines
219 B
Go

package repo
// PingRepo 示例仓储层,后续可替换为真实 DB/缓存实现
type PingRepo struct{}
func NewPingRepo() *PingRepo { return &PingRepo{} }
func (r *PingRepo) GetMessage() string { return "pong" }