# Flatbuffers schemas ## Generating sources Given a `.fbs` file, source code can be generated using `flatc` from this directory: ```shell flatc --go --go-module-name galaxy/schema/fbs {file}.fbs ``` The `--go-module-name` flag rewrites cross-namespace imports to the fully-qualified module path (e.g. `common "galaxy/schema/fbs/common"`) so the generated code links inside this Go module without local replace directives. Omitting the flag yields imports such as `common "common"` which fail to resolve.