Red Daly

Results 40 comments of Red Daly

> Instead of a new registration method, I think it might instead be better to provide an option (new vararg param) to ImportSpecs that tells it to always use an...

The latest commit removes the new method and uses a vararg option to NewGoFile to configure how ImportSpecs and identifier prefixes get generated. Please take a look. (Relevant commit: https://github.com/jhump/gopoet/pull/11/commits/859c06de4aeb9930b68b5f3ee93f43c215dbb308)

Any comments on the latest revision of the pull request? I'm using it in the version of gopoet at Google, and it's useful for dealing with the linter's quirks.

I would prefer some way to specify the rendering preference on the TypeName, that way you can render a signature like `func foo(a rune, b int32)`. Maybe something like ```go...

The branch works and has been updated with many fixes. We use it in web apps at work. However, last I checked, it will not be accepted upstream because the...

In my fork I have been maintaining and improving the ES6 support. I don't think the maintainers of the main repo have enough time to review the change and get...

What would be the expected output for ES6 module-style imports? It doesn't seem too hard to modify the generator C++ to support this once the desired behavior is fully specified....

https://github.com/protocolbuffers/protobuf-javascript/pull/156/files is pretty close to completing this but needs testing and support for the built-in well-known-types.

Thanks for the report! When there's time, we'll fix these bugs and add more tests. One aspect of this library that I never got around to was coming up with...