spec2go

command
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 14 Imported by: 0

Documentation

Overview

Command spec2go generates Go source code from YAML spec files.

It reads spec files produced by aidl2spec, converts them back to the parser AST types, and feeds them through the existing codegen.Generator to produce identical Go output without requiring AIDL source files.

Usage:

spec2go -specs specs/ -output . [-smoke-tests] [-codes-output binder/versionaware/codes_gen.go] [-default-api 36]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL