Initial
This commit is contained in:
14
internal/storage/store.go
Normal file
14
internal/storage/store.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package storage
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"netisjwt/internal/statuslist"
|
||||
)
|
||||
|
||||
type Store interface {
|
||||
Ustvari(ctx context.Context, statusID string, list *statuslist.StatusList) error
|
||||
SeznamIDjev(ctx context.Context) ([]string, error)
|
||||
Dobi(ctx context.Context, statusID string) (*statuslist.StatusList, error)
|
||||
Posodobi(ctx context.Context, statusID string, list *statuslist.StatusList) error
|
||||
}
|
||||
Reference in New Issue
Block a user