feat: refactor http

This commit is contained in:
Rogee
2024-12-06 16:53:33 +08:00
parent 7d9ec4ef81
commit 29894cff9c
6 changed files with 82 additions and 30 deletions

View File

@@ -83,6 +83,9 @@ func Provide(opts ...opt.Option) error {
TimeZone: "Asia/Shanghai",
}))
return &Service{Engine: engine, conf: &config}, nil
return &Service{
Engine: engine,
conf: &config,
}, nil
}, o.DiOptions()...)
}