From 28b8ff6afe4873096c8b0f03222daa224e440390 Mon Sep 17 00:00:00 2001 From: avonar Date: Sat, 19 Dec 2020 22:21:49 +0300 Subject: [PATCH] Remove --pbout from readme --- TUTORIAL.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/TUTORIAL.md b/TUTORIAL.md index 0f6875d2..b27b6801 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -167,14 +167,10 @@ The following is left as an exercise to the reader: You can control the location of the output folders for your service by specifying the following flags when running truss ``` --svcout {go-style-package-path to where you want the contents of {Name}-service folder to be} - --pbout {go-style-package-path to where you want the *.pb.go interface definitions to be} ``` -Note: “go-style-package-path” means exactly the style you use in your golang import statements, relative to your $GOPATH. This is not your system file path, nor it is relative to location of the *.proto file; the start of the path must be accessible from your $GOPATH. -For example: -``` -truss --pbout truss-demo/interface-defs --svcout truss-demo/service echo.proto -``` +Note: “go-style-package-path” means exactly the style you use in your golang import statements, relative to your $GOPATH. + Executing this command will place the *.pb.go files into `$GOPATH/truss-demo/interface-defs/`, and the entire echo-service contents (excepting the *.pb.go files) to `$GOPATH/truss-demo/service/`. ## Middlewares