implement a store abstraction
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package internal
|
||||
|
||||
// EphemeralStore loads an empty state and discards everything on save
|
||||
type EphemeralStore struct{}
|
||||
|
||||
func (EphemeralStore) Load() (map[string]*FillerQueue, error) {
|
||||
return make(map[string]*FillerQueue), nil
|
||||
}
|
||||
|
||||
func (EphemeralStore) Save(map[string]*FillerQueue) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user