Documentation
¶
Overview ¶
Package main demonstrates durable-go's core value: crash recovery and step replay.
How to run this demo ¶
First run – crashes intentionally after step 2: CRASH_AFTER=2 go run .
Second run – resumes from step 3 (steps 1 & 2 are replayed from cache): go run .
Watch the logs: on the second run you will see "↩ replayed from cache" for the first two steps, proving they were never re-executed.
Click to show internal directories.
Click to hide internal directories.