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":
|
case "http":
|
||||||
err = g.httpGenerate(component, plugin)
|
err = g.httpGenerate(component, plugin)
|
||||||
case "grpc", "rpc":
|
case "grpc", "rpc":
|
||||||
err = g.rpcGenerate(component, plugin)
|
err = g.rpcGenerate("rpc", plugin)
|
||||||
case "gorilla":
|
case "gorilla":
|
||||||
err = g.gorillaGenerate(component, plugin)
|
err = g.gorillaGenerate(component, plugin)
|
||||||
case "chi":
|
case "chi":
|
||||||
|
Loading…
Reference in New Issue
Block a user