Skip to content

Commit

Permalink
chore: Add sample into README.md about paths=source_relative
Browse files Browse the repository at this point in the history
  • Loading branch information
mztnnrt committed Jan 27, 2023
1 parent fb8dce5 commit cf6a9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf6a9ef

Please sign in to comment.