moul / protoc-gen-gotemplate

:open_file_folder: generic protocol generator based on golang's text/template (grpc/protobuf)
https://manfred.life/protoc-gen-gotemplate
MIT License
437 stars 70 forks source link

Windows install problem #107

Closed Green7 closed 5 years ago

Green7 commented 5 years ago

It is not possible to install protoc-gen-gotemplate under Windows.

go get github.com/moul/protoc-gen-gotemplate does not work because directory "examples/single-package-mode/templates/{{.File.Name|dir}}" has forbidden character ('|') in the name.

moul commented 5 years ago

Hi @Green7, you should now be able to install it on windows with go1.11, can you give a new try?

moul commented 5 years ago

Closing now, feel free to reopen if needed

Green7 commented 5 years ago

Sorry for the delay I was on vacation.
go get -u moul.io/protoc-gen-gotemplate works ok.