update handler generation (#27)

* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* update usage

* fixed env prepare for project in go path

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* remove waste code

* update project.go & README.md

* update project.go & README.md
This commit is contained in:
Keson
2020-08-29 00:15:15 +08:00
committed by GitHub
parent f411178a4f
commit 0734bbcab3
15 changed files with 74 additions and 183 deletions

View File

@@ -33,7 +33,6 @@ type (
ProtoSource string
TargetDir string
SharedDir string
GoPath string
console.Console
}
)
@@ -83,7 +82,6 @@ func MustCreateRpcContext(protoSrc, targetDir, sharedDir, serviceName string, id
ProtoSource: filepath.Base(srcFp),
TargetDir: targetDirFp,
SharedDir: sharedFp,
GoPath: info.GoPath,
Console: log,
}
}