done
This commit is contained in:
parent
c2842a54ba
commit
32b8835013
|
@ -13,6 +13,7 @@ type {{title Package}} struct {
|
||||||
type Params struct {
|
type Params struct {
|
||||||
fx.In
|
fx.In
|
||||||
|
|
||||||
|
Lc fx.Lifecycle
|
||||||
Log *slog.Logger
|
Log *slog.Logger
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,6 +26,7 @@ type Result struct {
|
||||||
func New(p Params) (r Result, err error) {
|
func New(p Params) (r Result, err error) {
|
||||||
o := &{{title Package}}{}
|
o := &{{title Package}}{}
|
||||||
o.log = p.Log
|
o.log = p.Log
|
||||||
|
|
||||||
r.Output = o
|
r.Output = o
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue