package main import ( "context" "log" "gitea.bel.blue/bel/with" ) func main() { if err := with.Context(run); err != nil { panic(err) } } func run(ctx context.Context) error { log.Fatal("RUN") return ctx.Err() }