gvisorgvisor.dev/gvisor/tools/go_marshal Directories

go_marshal command

go_marshal is a code generation utility for automatically generating code to marshal go data structures to memory.

This binary is typically run as part of the build process, and is invoked by the go_marshal bazel rule defined in defs.bzl.

See README.md.

Directories

PathSynopsis
tools/go_marshal/analysisPackage analysis implements common functionality used by generated go_marshal tests.
tools/go_marshal/gomarshalPackage gomarshal implements the go_marshal code generator.
tools/go_marshal/testPackage test contains data structures for testing the go_marshal tool.
tools/go_marshal/test/escapePackage escape contains test cases for escape analysis.
tools/go_marshal/test/externalPackage external defines types we can import for testing.
Version
v0.0.0-20250702182429-85e76111eb28 (latest)
Published
Jul 2, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
6 hours ago

Tools for package owners.