Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests_v0.3.0 中AuthManager的疑问 #16

Open
MarineJoker opened this issue Apr 3, 2020 · 1 comment
Open

Requests_v0.3.0 中AuthManager的疑问 #16

MarineJoker opened this issue Apr 3, 2020 · 1 comment

Comments

@MarineJoker
Copy link

大佬,在 Requests_v0.3.0 中AuthManager有单例模式的必要吗,import 不是不会重复加载吗,本身不就是单例的吗,为啥还特别要整成单例模式?

@MarineJoker
Copy link
Author

大佬的严谨?为了让后续直接实例化AuthManager,也能直接拿到全局对象?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant