From 15e7f6bd164612b6e397d4a2711bc3863e1e083d Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 20 Mar 2022 14:18:35 +0300 Subject: [PATCH] add drpc as known component Signed-off-by: Vasiliy Tolstov --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5a0a556..5a5b9b2 100644 --- a/main.go +++ b/main.go @@ -89,7 +89,7 @@ func (g *Generator) Generate(plugin *protogen.Plugin) error { err = g.microGenerate(component, plugin, genClient, genServer) case "http": err = g.httpGenerate(component, plugin, genClient, genServer) - case "grpc", "rpc": + case "grpc", "drpc", "rpc": err = g.rpcGenerate("rpc", plugin, genClient, genServer) case "gorilla": err = g.gorillaGenerate(component, plugin)