21 lines
563 B
Go
21 lines
563 B
Go
// Package integration contains adapters for external systems and runtime
|
|
// clients. These constructors are kept out of the persistence provider set so
|
|
// the data package does not also act as the integration composition root.
|
|
package integration
|
|
|
|
import (
|
|
"kra/internal/biz"
|
|
"kra/internal/integration/cache"
|
|
"kra/internal/integration/email"
|
|
"kra/internal/integration/storage"
|
|
|
|
"github.com/google/wire"
|
|
)
|
|
|
|
var ProviderSet = wire.NewSet(
|
|
cache.New,
|
|
email.NewEmailRepo,
|
|
storage.NewFileStorage,
|
|
wire.Bind(new(biz.FileStorage), new(*storage.Reloadable)),
|
|
)
|