OptionFunc is a function that configures a mutex.
func(*Mutex)
| 58 | |
| 59 | // OptionFunc is a function that configures a mutex. |
| 60 | type OptionFunc func(*Mutex) |
| 61 | |
| 62 | // Apply calls f(mutex) |
| 63 | func (f OptionFunc) Apply(mutex *Mutex) { |
no outgoing calls
no test coverage detected
searching dependent graphs…