mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
- Add syncutil package with deadlock-detecting mutex (build-tag switchable) - Add main_test.go TestMain scaffolding across all server packages - Harden concurrency in ws, admin, auth, and updater packages - Update CI workflow, go.mod/sum, Cargo.lock, and root changelogen tooling
6 lines
275 B
Go
6 lines
275 B
Go
// Package syncutil provides mutex types that switch between sync.Mutex
|
|
// and go-deadlock equivalents based on the "deadlock" build tag.
|
|
// Production builds use the standard library; test/dev builds with
|
|
// -tags=deadlock get automatic deadlock detection.
|
|
package syncutil
|