add drpc as known component #43

Merged
vtolstov merged 1 commits from drpc into v3 2022-03-20 14:20:36 +03:00
Showing only changes of commit 15e7f6bd16 - Show all commits

View File

@ -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)