flamingo.me/flamingo-commerce/v3@v3.11.0/test/integrationtest/projecttest/modules/customer/module.go (about)

     1  package customer
     2  
     3  import (
     4  	"flamingo.me/dingo"
     5  
     6  	"flamingo.me/flamingo-commerce/v3/customer/domain"
     7  )
     8  
     9  type (
    10  	// Module is a fake customer module
    11  	Module struct{}
    12  )
    13  
    14  // Configure module
    15  func (m *Module) Configure(injector *dingo.Injector) {
    16  	injector.Bind(new(domain.CustomerIdentityService)).To(new(FakeService))
    17  }