Fix go generator undefined Package name, also throwing exception (#7632)

* Fix go generator undefined Package, also throw exception in specific examples.

* Add test for go generator import problem

* Add new version of generated go file. Fix conflict.

* Add executable permission to generate_code.py script.

* Improve test quality, remove unwanted generated files, better naming

* Fix comments

* clang format

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
Saman
2022-11-22 16:21:25 -05:00
committed by GitHub
parent eead6c6219
commit 1cba8b2b49
9 changed files with 264 additions and 39 deletions

View File

@@ -0,0 +1,8 @@
include "no_namespace.fbs";
namespace order;
table Food {
pizza: Pizza (id: 0);
pizza_test:Pizza(id:1);
}

View File

@@ -0,0 +1,3 @@
table Pizza {
size: int;
}