Is comment correctly reflecting logic?
Author: pmflanneryCreated Oct 13, 2025Updated Oct 14, 2025
https://github.com/patrickmn/go-cache/blob/46f407853014144407b6c2ec7ccc76bf67958d93/cache.go#L131
The comments in this function mention that the second return parameter is a bool, indicating if the key were found. If that were the case, should this line not be returning nil, true ?
Source: patrickmn/go-cache