GoBusiness logicDifficulty 3/3
package profiles
var cache = map[string]Profile{}
func Get(id string) Profile {
if p, ok := cache[id]; ok {
return p
}
p := load(id)
cache[id] = p
return p
}