Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( ProvideRepository, wire.Bind(new(pkg.Repo), new(*Repository)), )
ProviderSet provides the Order repository and binds it to pkg.Repo.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct{ *protosource.Repository }
Repository wraps *protosource.Repository for the Order aggregate, giving Wire a distinct concrete type per aggregate.
func ProvideRepository ¶
func ProvideRepository(store protosource.Store, serializer protosource.Serializer) *Repository
ProvideRepository creates a Order repository accepting interfaces.
Click to show internal directories.
Click to hide internal directories.