package {{Package}} import ( "context" "log/slog" "go.uber.org/fx" "gfx.cafe/util/go/fxplus" ) type {{title Package}} struct { log *slog.Logger } type Params struct { fx.In Lc fx.Lifecycle Log *slog.Logger } type Result struct { fx.Out Output *{{title Package}} Healther fxplus.Healther } func New(p Params) (r Result, err error) { o := &{{title Package}}{} o.log = p.Log r.Output = o r.Healther = o return } func (o *{{title Package}}) Health(ctx context.Context) (error) { return nil }