mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-07 23:02:12 +02:00
remove proto gopath (#896)
This commit is contained in:
parent
eeab979d5f
commit
2e4bb11f00
@ -77,9 +77,7 @@ func generate(proto string, args []string) error {
|
||||
path, name := filepath.Split(proto)
|
||||
input := []string{
|
||||
"--proto_path=.",
|
||||
"--proto_path=" + filepath.Join(base.KratosMod(), "api"),
|
||||
"--proto_path=" + filepath.Join(base.KratosMod(), "third_party"),
|
||||
"--proto_path=" + filepath.Join(os.Getenv("GOPATH"), "src"),
|
||||
"--go_out=paths=source_relative:.",
|
||||
"--go-grpc_out=paths=source_relative:.",
|
||||
"--go-http_out=paths=source_relative:.",
|
||||
|
Loading…
Reference in New Issue
Block a user