Back to Golang Design Pattern

单例模式

03_singleton/README.md

latest94 B
Original Source

单例模式

使用懒惰模式的单例模式,使用双重检查加锁保证线程安全