Add documentation and Unit Tests
Since I was digging into the linter, I decided to go ahead and try my best to document what is happening as well as add unit tests for the helper functions.
Overview:
- Refactored, commented, and alphabetized
lockcheck.go
- Added unit tests in
lockcheck_helpers_test.go
- Updated handling of
atmoic
prefix per our engineering guidelines. - Added additional
Sia/sync
mutex types toisSyncObject
Edited by Matthew Sevey