Add a generic way to deserialize a flatbuffer in Go.
authorgonzaloserrano <boikot@gmail.com>
Thu, 7 Jul 2016 10:46:39 +0000 (12:46 +0200)
committergonzaloserrano <boikot@gmail.com>
Tue, 23 Aug 2016 14:38:22 +0000 (16:38 +0200)
commit199a49b5b3ec090f229258ac78fedc842ac9f07d
treedb43b79fd0a8b3ca44b693cf56d6a35dc95505e4
parentb36bd67b390bb17f462258afb7ce6328da1b5622
Add a generic way to deserialize a flatbuffer in Go.

Similar to what protobufs does with its `Message` interface, introduce here such interface and create a generic `GetRootAs` method to deserialize a flatbuffer.
go/lib.go [new file with mode: 0644]
src/idl_gen_go.cpp
tests/MyGame/Example/Monster.go
tests/MyGame/Example/Stat.go
tests/MyGame/Example/Test.go
tests/MyGame/Example/TestSimpleTableWithEnum.go
tests/MyGame/Example/Vec3.go
tests/MyGame/Example2/Monster.go
tests/go_test.go