genmock

command
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

genmock regenerates a microservice's mock.go from the ToDo interface declared in its intermediate.go. Each method becomes a (mockX field, MockX setter, X executor) triple. Methods whose signature returns *workflow.Graph are rendered with the workflow-graph mock pattern, which builds a synthetic single-task subgraph that delegates to the supplied handler.

Jump to

Keyboard shortcuts

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