yjp hai 1 ano
pai
achega
18a13af0d3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      framework/binding/binder.go

+ 4 - 0
framework/binding/binder.go

@@ -16,3 +16,7 @@ func NewBinder(router api.Router, i *infrastructure.Infrastructure) *Binder {
 		i:      i,
 	}
 }
+
+func (binder *Binder) GetInfrastructure() *infrastructure.Infrastructure {
+	return binder.i
+}