From 3597f75ba4a83145a16c1b0118fe9613a22adc4b Mon Sep 17 00:00:00 2001 From: Wes Date: Wed, 27 Mar 2024 13:49:37 -0700 Subject: [PATCH] chore: remove unused example code (#1148) --- examples/go/echo/echo.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/examples/go/echo/echo.go b/examples/go/echo/echo.go index 39f3f6fe0e..175eeaca47 100644 --- a/examples/go/echo/echo.go +++ b/examples/go/echo/echo.go @@ -32,16 +32,3 @@ func Echo(ctx context.Context, req EchoRequest) (EchoResponse, error) { return EchoResponse{Message: fmt.Sprintf("Hello, %s!!! It is %s!", req.Name.Default(defaultName.Get(ctx)), tresp.Time)}, nil } - -/* - -verb cronJob(Unit) Unit - +cron "0 0 * * *" - -*/ - -//ftl:cron -func CronJob(ctx context.Context) error { - _, err := ftl.Call(ctx, Echo, EchoRequest{}) - return err -}