design pattern to avoid deadlock with mutex in golang
What would the appropriate design pattern to avoid deadlock when several functions use the same mutex ?
What would the appropriate design pattern to avoid deadlock when several functions use the same mutex ?