From cf6a9ef9ae937f54923b843d49728c003bf65044 Mon Sep 17 00:00:00 2001 From: mztnnrt Date: Fri, 27 Jan 2023 14:08:53 +0900 Subject: [PATCH] chore: Add sample into README.md about `paths=source_relative` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2884b0d6e..16ec4ae56 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ code. **Note**: by default **example.pb.validate.go** is nested in a directory structure that matches your `option go_package` name. You can change this using -the protoc parameter `paths=source_relative:.`. Then `--validate_out` will +the protoc parameter `paths=source_relative:.`, as like `--validate_out="lang=go,paths=source_relative:../generated"`. Then `--validate_out` will output the file where it is expected. See Google's protobuf documentation or [packages and input paths](https://github.com/golang/protobuf#packages-and-input-paths) or [parameters](https://github.com/golang/protobuf#parameters) for more