fix: issues

This commit is contained in:
Rogee
2024-12-31 19:32:01 +08:00
parent 498a820a54
commit 6fa7f6d1d8
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ func Provide(opts ...opt.Option) error {
if err := o.UnmarshalConfig(&config); err != nil {
return err
}
return container.Container.Provide(func(http http.Service, grpc *grpc.Grpc) (*CMux, error) {
return container.Container.Provide(func(http *http.Service, grpc *grpc.Grpc) (*CMux, error) {
l, err := net.Listen("tcp", config.Address())
if err != nil {
return nil, err