revert changes

This commit is contained in:
anqiansong
2021-09-11 20:57:58 +08:00
parent f0ed2370a3
commit ded22e296e
7 changed files with 83 additions and 106 deletions

View File

@@ -7,6 +7,7 @@ import (
// Generator defines a generator interface to describe how to generate rpc service
type Generator interface {
Prepare() error
GenMain(ctx DirContext, proto parser.Proto, cfg *conf.Config) error
GenCall(ctx DirContext, proto parser.Proto, cfg *conf.Config) error
GenEtc(ctx DirContext, proto parser.Proto, cfg *conf.Config) error