mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
For structs protected by a single mutex, embed the mutex for more concise usage. Also use a sync.Mutex directly, rather than a pointer, to avoid the need for initialization (because a Mutex's zero-value is valid and ready to be used).
8.7 KiB
8.7 KiB