Skip to content

leohilbert/fbs2proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages