restructuring
This commit is contained in:
8
internal/data/datastore.go
Normal file
8
internal/data/datastore.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package data
|
||||
|
||||
type Datastore interface {
|
||||
Set(key string) error
|
||||
Get(key string) string, error
|
||||
GetAll(rowkey string) map[string]string, error
|
||||
GetAllKeys() map[string]bool, error
|
||||
}
|
||||
Reference in New Issue
Block a user