Giter Club home page Giter Club logo

Comments (4)

dead-horse avatar dead-horse commented on April 19, 2024
  1. 不提供 load singleton 的接口了吧,只是给插件使用的。
  2. singleton 可以实例化一个类型的多个单例,app.oss.client1 和 app.oss.client2 等于是同一类的两个单例。

from egg.

popomore avatar popomore commented on April 19, 2024

@atian25 这个还继续讨论么

from egg.

atian25 avatar atian25 commented on April 19, 2024
  • 第一点有没有必要出个范式? 因为现在很多地方都用到, 但后来者不一定知道
  • loader Singleton 这个应该不需要了吧
  • 示例的命名回头有需要再顺手改了.

from egg.

fengmk2 avatar fengmk2 commented on April 19, 2024

后头 @dead-horse 写好文档即可。

from egg.

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.