Enter to send·Shift+Enter new line
ReadIfFresh reads a cached file if it exists and is within TTL.
func ReadIfFresh(path string, ttl time.Duration) ([]byte, error)
path
string
ttl
time.Duration