Coder Social home page Coder Social logo

Comments (2)

helei112g avatar helei112g commented on August 22, 2024

很好的建议。
目前3.x系列这样设计,主要是为了方便调用者一个方法就搞定对应的调用。

在 2.x的时候,就是将初始化配置与具体调用进行分离的。但是调用起来比较麻烦。

虽然3.x感觉每次都要传入配置文件,但是内部其实并不是每次都会进行初始化。

正准备将 Client 中的调用类,全部采用单例方式。估计在 3.0.4 版本实现。

from payment.

greedying avatar greedying commented on August 22, 2024

哦~ 好的感谢答复。内部实现我没细看

from payment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.