Sign in
pigweed
/
third_party
/
github
/
google
/
flatbuffers
/
refs/heads/upstream/master
/
.
/
goldens
/
go
/
generate.py
blob: 1f809aa64d36bebfc93e57db08b0f04901bc35b9 [
file
] [
log
] [
blame
] [
edit
]
from
golden_utils
import
flatc_golden
def
flatc
(
options
,
schema
):
# Wrap the golden flatc generator with Go specifics
flatc_golden
(
options
=[
"--go"
]
+
options
,
schema
=
schema
,
prefix
=
"go"
)
def
GenerateGo
():
flatc
([],
"basic.fbs"
)