20 lines
224 B
Go
20 lines
224 B
Go
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()
|
|
}
|