| Tim Windelschmidt | 83da422 | 2024-12-16 02:49:50 +0100 | [diff] [blame] | 1 | package main |
| 2 | |||||
| 3 | import ( | ||||
| 4 | "context" | ||||
| 5 | "fmt" | ||||
| 6 | |||||
| 7 | "source.monogon.dev/osbase/bringup" | ||||
| 8 | ) | ||||
| 9 | |||||
| 10 | func main() { | ||||
| 11 | bringup.Runnable(func(ctx context.Context) error { | ||||
| 12 | return fmt.Errorf("this is an error") | ||||
| 13 | }).Run() | ||||
| 14 | } | ||||