laurent22 / go-sqlkv

An SQL-based key/value store for Golang
39 stars 8 forks source link

Expiration feature #3

Open ralfonso-directnic opened 1 year ago

ralfonso-directnic commented 1 year ago

Have you thought about adding expiration feature?

Ie

store.SetBoolEx("enabled", true, time.Now().Add(time.Hour * 1))

laurent22 commented 1 year ago

Yes that could be added as an optional parameter to the set methods