converter

command
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 17 Imported by: 0

README

Shows how a custom Converter can be used for inputs/result serialization. This example uses gob binary encoding instead of the default JSON one.

Documentation

Overview

Run from make shell with: go run ./samples/converter -backend memory. A gob converter replaces JSON for persisted inputs and results. The workflow returns 59, shuts down its worker, then waits for Ctrl+C.

Jump to

Keyboard shortcuts

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