yjp 1 жил өмнө
parent
commit
18a13af0d3

+ 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
+}