Merge pull request #43 from unistack-org/drpc

add drpc as known component
This commit is contained in:
Василий Толстов 2022-03-20 14:20:36 +03:00 committed by GitHub
commit 03355d0d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)