Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func GetInstance ¶
func GetInstance() *Config
This is the right way to create a singleton, source: https://refactoring.guru/design-patterns/singleton/go/example
Click to show internal directories.
Click to hide internal directories.