diff --git a/go-runtime/compile/build.go b/go-runtime/compile/build.go index 617226b71..4d0757970 100644 --- a/go-runtime/compile/build.go +++ b/go-runtime/compile/build.go @@ -442,9 +442,6 @@ var scaffoldFuncs = scaffolder.FuncMap{ }, "mainImports": func(ctx mainModuleContext) []string { imports := sets.NewSet[string]() - if len(ctx.Verbs) > 0 { - imports.Add(ctx.Name) - } for _, v := range ctx.Verbs { imports.Add(strings.TrimPrefix(v.MustImport, "ftl/")) }