1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 04:22:22 +00:00

Merge pull request #68 from cloudzhou/patch-1

typo ch1-05-mem.md
This commit is contained in:
chai2010 2018-04-02 11:33:27 +08:00 committed by GitHub
commit 5787cf8467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ var (
) )
func Instance() *singleton { func Instance() *singleton {
if atomic.LoadUInt32(&initialized) == 1 { if atomic.LoadUint32(&initialized) == 1 {
return instance return instance
} }