25/02 The Singleton Pattern –Building the Hydra Custom Logger
What is the Singleton Pattern An object gets created only once then reused. Let's start by defining the singleton design pattern that is simply and object that get created only once in our code. And then gets used again and again We don't create multiple instances often. Why use the Singleton Pattern When the object needs to keep state throughout our program. The singleton pattern is useful when..
Go/Mastering Go
2022. 2. 26. 00:44