service and interactor generation

This commit is contained in:
cubixle
2021-06-16 18:39:06 +01:00
parent 84e3cd603e
commit 8f67f0703e
17 changed files with 279 additions and 39 deletions
-6
View File
@@ -1,7 +1 @@
package tuugen
func GenerateProtos() error {
cmd := "protoc"
args := []string{"-I", ".:${GOPATH}/src", "--go_out=.", "--go-grpc_out=.", "service.proto"}
return runCommand(cmd, args)
}