Update documentation

This commit is contained in:
TwinProduction 2021-07-17 20:18:27 -04:00 committed by Chris
parent 5a4fa6f2b0
commit 42a909c1ad

View File

@ -25,7 +25,10 @@ type Store struct {
cache *gocache.Cache
}
// NewStore creates a new store
// NewStore creates a new store using gocache.Cache
//
// This store holds everything in memory, and if the file parameter is not blank,
// supports eventual persistence.
func NewStore(file string) (*Store, error) {
store := &Store{
file: file,