mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-13 18:00:00 +08:00
rpc service use proto.Package.Name by support multi proto file (#5378)
This commit is contained in:
@@ -199,7 +199,7 @@ func mkdir(ctx *ctx.ProjectContext, proto parser.Proto, conf *conf.Config, c *ZR
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
serviceName := strings.TrimSuffix(proto.Name, filepath.Ext(proto.Name))
|
serviceName := proto.Package.Name
|
||||||
return &defaultDirContext{
|
return &defaultDirContext{
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
inner: inner,
|
inner: inner,
|
||||||
|
|||||||
Reference in New Issue
Block a user