Inadvertently copying a value containing a lock (which is a type implementing sync/Locker, such as sync/Mutex or sync/WaitGroup), may cause both copies to work incorrectly. Generally such values should be referred to through a pointer.