Sobes.tech
Junior — Senior
98

Thread‑safe in‑memory cache with Get/Set operations

Companies where asked:

OZONOZON
Task condition

Необходимо реализовать потокобезопасный вариант интерфейса Cache.

type Cache interface {
    Set(key, value string)
    Get(key string) (value string, ok bool)
}