fatal error: concurrent map read and map write code example
Example: fatal error: concurrent map writes
var mutex = &sync.Mutex{}
mutex.Lock()
ActiveInstances[i_id] = make(chan string, 5)
mutex.Unlock()
var mutex = &sync.Mutex{}
mutex.Lock()
ActiveInstances[i_id] = make(chan string, 5)
mutex.Unlock()