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.
Click to show internal directories.
Click to hide internal directories.