3 ms·
If you like cross-language import hacks like this then you might be interested in my codegenloader package, which lets you import .proto or .thrift files direct
by bdarnell 10y ago
If you like cross-language import hacks like this then you might be interested in my codegenloader package, which lets you import .proto or .thrift files directly (and it's extensible for other code generators). Mine is a little less magical since it needs to be declared in the package where it will be used, instead of affecting all imports everywhere.
https://github.com/bdarnell/codegenloader https://github.com/bdarnell/codegenloader