go.mod: update osbuild/images to v0.124.0

This commit is contained in:
Achilleas Koutsou 2025-03-17 18:08:15 +01:00 committed by Sanne Raymaekers
parent a27880c0c6
commit 6a112877f1
62 changed files with 2390 additions and 2108 deletions

View file

@ -59,3 +59,12 @@ func ExecError(err error) error {
}
return err
}
// Must() can be used to shortcut all `NewT() (T, err)` constructors.
// It will panic if an error is passed.
func Must[T any](val T, err error) T {
if err != nil {
panic(err)
}
return val
}