func New() Storage {
	m := muxMap{
		Mutex:   &sync.Mutex{},
		storage: make(map[interface{}]data),
	}

	return &m
}
// New returns initialized storage
// implementation. When context
// of the Set method will be done, storage
// will remove key from it. When the same key
// will be passed to the Get method, previous
// context done wait will be expired.
New returns initialized storage
implementation. When context
of the Set method will be done, storage
will remove key from it. When the same key
will be passed to the Get method, previous
context done wait will be expired.
// New returns initialized storage // implementation . When context // of the Set method will be done storage // will remove key from it . When the same key // will be passed to the Get method previous // context done wait will be expired .
func New() Storage {
	m := muxMap{
		Mutex:   &sync.Mutex{},
		storage: make(map[interface{}]data),
	}
	return &m
}
func New ( ) Storage { m := muxMap { Mutex : & sync . Mutex { } , storage : make ( map [ interface { } ] data ) , } return & m }
New returns initialized storage
implementation.
New returns initialized storage implementation .