code: def go_root_main(output: Optional[str]) -> None:
      files = []
      for package in ALL_PKGS:
          files += list_files(package)
      schemas = read_schemas(files)
  
      lines = gen_go_schemas_package(schemas)
  
      maybe_write_output(lines, output)
  
imports: import argparse
  import json
  import os
  import re
  import sys
  from typing import List, Optional, Tuple
label_desc: Use image node_id 17 for calling a global function with example usage: go_root_main(output) without return types