Sobes.tech
Junior — Senior

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

livecode

Task condition

It is necessary to implement a thread-safe version of the Cache interface.

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