| Tim Windelschmidt | 6d33a43 | 2025-02-04 14:34:25 +0100 | [diff] [blame] | 1 | // Copyright The Monogon Project Authors. |
| 2 | // SPDX-License-Identifier: Apache-2.0 | ||||
| 3 | |||||
| Tim Windelschmidt | 83da422 | 2024-12-16 02:49:50 +0100 | [diff] [blame] | 4 | package main |
| 5 | |||||
| 6 | import ( | ||||
| 7 | "context" | ||||
| 8 | "fmt" | ||||
| 9 | |||||
| 10 | "source.monogon.dev/osbase/bringup" | ||||
| 11 | ) | ||||
| 12 | |||||
| 13 | func main() { | ||||
| 14 | bringup.Runnable(func(ctx context.Context) error { | ||||
| 15 | return fmt.Errorf("this is an error") | ||||
| 16 | }).Run() | ||||
| 17 | } | ||||