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 -}