grpc is not generic in micro, so name component as rpc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
9f2dd3ed35
commit
142f6dd866
2
main.go
2
main.go
@ -45,7 +45,7 @@ func (g *Generator) Generate(plugin *protogen.Plugin) error {
|
||||
case "http":
|
||||
err = g.httpGenerate(component, plugin)
|
||||
case "grpc", "rpc":
|
||||
err = g.rpcGenerate(component, plugin)
|
||||
err = g.rpcGenerate("rpc", plugin)
|
||||
case "gorilla":
|
||||
err = g.gorillaGenerate(component, plugin)
|
||||
case "chi":
|
||||
|
Loading…
x
Reference in New Issue
Block a user