/fbs2proto

Flatbuffer to Protobuf converter

Primary LanguageGoApache License 2.0Apache-2.0

Flatbuffer to Protobuf converter

a simple binary to convert a flatbuffer to a protobuf-file

This is my very first go-project, so please don't judge! :)

After using flatbuffers for a while now, I want to move back to protobuf.
I haven't found a way to convert them without going through each message individually and since I'm lazy I wanted the computer to do it for me and learn some go in the process.

This will probably not convert everything 100% correctly and you will need to modify a few parts, but it's a start, so you don't have to start from scratch.

How to use

go run main.go /path/to/your/fbs/folder

The script will then search through the folder and all subfolders and create a ".proto"-file for every ".fbs"-file.