feat: Inital commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package storage
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
// Storer defines the interface for database operations.
|
||||
type Storer interface {
|
||||
FetchAppState(ctx context.Context) (*AppState, error)
|
||||
UpdateAppState(ctx context.Context, newState *AppState) error
|
||||
AddChatID(ctx context.Context, chatID int64) error
|
||||
}
|
||||
Reference in New Issue
Block a user