I've seen #345 and #268, but am still at a loss why the README instructions don't work.
I used go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
I see ~/go/bin/protoc-gen-doc and it's in my PATH and executable.
I'm running go version go1.10.2 darwin/amd64
➜ protoc --plugin=protoc-gen-doc -Isrc/main/protobuf --doc_out=. --doc_opt=markdown,doc.md src/main/protobuf/foo.proto
protoc-gen-doc: program not found or is not executable
--doc_out: protoc-gen-doc: Plugin failed with status code 1.
➜ protoc --version
libprotoc 3.5.1
➜ which protoc-gen-doc
/Users/jswhite/go/bin/protoc-gen-doc
I've seen #345 and #268, but am still at a loss why the README instructions don't work.
I used
go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
I see
~/go/bin/protoc-gen-doc
and it's in my PATH and executable.I'm running
go version go1.10.2 darwin/amd64