雷菊
雷菊
> Do you believe it's truly the responsibility of the IOC container to handle the closure of services? I tried to close all instances with Close(c container.Container), but concrete.isSingleton and...
I think it is necessary to condition the close method. 1. have no impact on existing functions and methods 2. Convenient to close db like services
> I know that close is not a special method, and I don't understand why all objects should have such a method. Could you explain more about it? Although 'close'...