examples/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0

README

Examples

Example Style What it shows
resume/ closure Start here — crash recovery and step replay
func-task/ closure durable.Func inline tasks, RegisterTask / RunTask / RunStep
struct-task/ struct Injected dependencies, WithTaskTimeout, WithTaskMaxRetries

From the repo root:

go run ./examples/resume/
go run ./examples/func-task/
go run ./examples/struct-task/

Directories

Path Synopsis
Package main demonstrates the functional / closure style of durable-go.
Package main demonstrates the functional / closure style of durable-go.
Package main demonstrates durable-go's core value: crash recovery and step replay.
Package main demonstrates durable-go's core value: crash recovery and step replay.
Package main demonstrates the struct / method-receiver style of durable-go.
Package main demonstrates the struct / method-receiver style of durable-go.

Jump to

Keyboard shortcuts

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