Alexey Ugnichev

55%
Flag icon
In contrast, exported package-level functions are generally expected to be concurrency-safe. Since package-level variables cannot be confined to a single goroutine, functions that modify them must enforce mutual exclusion.
The Go Programming Language
Rate this book
Clear rating
Open Preview