protoc-gen-gotag icon indicating copy to clipboard operation
protoc-gen-gotag copied to clipboard

Add abs path option for input file

Open khoitx-ugaming opened this issue 1 year ago • 1 comments

Add an option to allow absolute path for input file

protoc -I /usr/local/include \
       	-I ./pkg \
       	--gotag_out=outabsdir="/absolutePath:/absolutePath" example/example.proto

this will attempt to execute the tag replacement in /absolutePath/example_go_package/example.proto.go, instead ./go_package/example.proto.go

khoitx-ugaming avatar May 24 '23 04:05 khoitx-ugaming

whats is the use case for this absolute path exactly, what you today cannot achieve?

mesmerx avatar Jun 01 '24 01:06 mesmerx