yjp 1 жил өмнө
parent
commit
3970423140

+ 2 - 2
framework/binding/binder.go

@@ -17,6 +17,6 @@ func NewBinder(router api.Router, i *infrastructure.Infrastructure) *Binder {
 	}
 }
 
-func (binder *Binder) GetInfrastructure() infrastructure.Infrastructure {
-	return *binder.i
+func (binder *Binder) GetInfrastructure() *infrastructure.Infrastructure {
+	return binder.i
 }