mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
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:
@@ -193,6 +193,20 @@ flatc(
|
||||
include="include_test",
|
||||
)
|
||||
|
||||
flatc(
|
||||
NO_INCL_OPTS
|
||||
+ ["--go"],
|
||||
schema="include_test/foo.fbs",
|
||||
include="include_test/sub",
|
||||
)
|
||||
|
||||
flatc(
|
||||
NO_INCL_OPTS
|
||||
+ ["--go"],
|
||||
schema="include_test/sub/header.fbs",
|
||||
include="include_test",
|
||||
)
|
||||
|
||||
flatc(
|
||||
NO_INCL_OPTS
|
||||
+ TS_OPTS,
|
||||
|
||||
Reference in New Issue
Block a user