Port FlatBuffers to Go.
authorrw <me@rwinslow.com>
Fri, 11 Jul 2014 23:12:35 +0000 (16:12 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Mon, 21 Jul 2014 23:40:39 +0000 (16:40 -0700)
commit74d5f3701fd19ca13b8fe69d1cf54002e11416da
treebf29f7fb006f6286db1dcd56f03c7c4af5a7d89b
parent3fb6a86d020f7423553a4e2dbba637b56d7760f6
Port FlatBuffers to Go.

Implement code generation and runtime library for Go, derived from the
Java implementation. Additionally, the test suite verifies:

 - the exact bytes in the Builder buffer during object construction,
 - vtable deduplication, and
 - table construction, via a fuzzer derived from the C++ implementation.

Change-Id: Ib95a019c684891def2b50281e570b4843fea7baa
36 files changed:
.gitignore
CMakeLists.txt
build/VS2010/flatc.vcxproj
build/VS2010/flatc.vcxproj.user
build/VS2010/flatsamplebinary.vcxproj
build/VS2010/flatsampletext.vcxproj
build/VS2010/flattests.vcxproj
build/Xcode/FlatBuffers.xcodeproj/project.pbxproj
docs/html/index.html
docs/html/md__go_usage.html [new file with mode: 0644]
docs/html/navtree.js
docs/html/navtreeindex0.js
docs/html/pages.html
docs/source/FlatBuffers.md
docs/source/GoUsage.md [new file with mode: 0755]
docs/source/doxyfile
go/builder.go [new file with mode: 0644]
go/doc.go [new file with mode: 0644]
go/encode.go [new file with mode: 0644]
go/struct.go [new file with mode: 0644]
go/table.go [new file with mode: 0644]
go/unsafe.go [new file with mode: 0644]
include/flatbuffers/idl.h
src/flatc.cpp
src/idl_gen_cpp.cpp
src/idl_gen_go.cpp [new file with mode: 0755]
src/idl_gen_java.cpp
src/idl_gen_text.cpp
src/idl_parser.cpp
tests/GoTest.sh [new file with mode: 0755]
tests/MyGame/Example/Any.go [new file with mode: 0644]
tests/MyGame/Example/Color.go [new file with mode: 0644]
tests/MyGame/Example/Monster.go [new file with mode: 0644]
tests/MyGame/Example/Test.go [new file with mode: 0644]
tests/MyGame/Example/Vec3.go [new file with mode: 0644]
tests/go_test.go [new file with mode: 0644]