Ver código fonte

修改接口

yjp 1 ano atrás
pai
commit
3970423140
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      framework/binding/binder.go

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