Answers for "fatal error: concurrent map writes golang"

1

fatal error: concurrent map writes

var mutex = &sync.Mutex{}

mutex.Lock()
ActiveInstances[i_id] = make(chan string, 5)
mutex.Unlock()
Posted by: Guest on April-27-2020

Browse Popular Code Answers by Language