refactor: re-order store declaration to match definition.

This commit is contained in:
James Park-Watt 2024-10-27 05:23:32 +00:00
parent e966d19a3b
commit 5c961b7e14

View File

@ -26,8 +26,8 @@ type (
// New creates a new In-Mem storage
func New() storage.Storage {
store := &storageMem{
storePruneTimer: time.NewTicker(time.Minute),
store: make(map[string]memStorageSecret),
storePruneTimer: time.NewTicker(time.Minute),
}
go store.storePruner()