# README
Protoc Plugin Generator for Redis RPC
This package provides a plugin for the protoc
utility, enabling the generation of Go code for RPC Redis from Protocol Buffers (.proto
) files. The plugin is designed to streamline the process of creating Go structs and service interfaces based on your Protocol Buffers definitions.
Installation
go install github.com/ksysoev/protoc-gen-rpc-redis@latest
Usage
To generate Go code from your .proto
files using the custom rpc-redis
plugin, run the following command:
protoc --rpc-redis_out=. --rpc-redis_opt=paths=source_relative echosrv.proto
An example of the generated code can be found in this repository. This example demonstrates how the plugin converts .proto
definitions into Go code, including structs and service interfaces.
Feel free to explore the repository to see the plugin in action and understand how to integrate it into your own projects.
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any problems or have suggestions for improvements.
License
This project is licensed under the MIT License. See the LICENSE file for details.