func (e entry) expired() bool {
	if e.noexpire {
		return false
	}
	if time.Now().After(e.expiresOn) {
		return true
	}
	return false
}
Returns true if entry has expired
package store
import (
	"fmt"
	"sync"
	"time"
	log "github.com/sirupsen/logrus"
)
type entry struct {
	value     string
	expiresOn time.Time
	noexpire  bool
}