murex
murex copied to clipboard
TODO: Thread safe variable dump
// Dump returns a map of the structure of all variables in scope
func (v *Variables) Dump() interface{} {
v.mutex.Lock()
vars := v.vars // TODO: This isn't thread safe
v.mutex.Unlock()
return vars
}