mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
13 lines
188 B
Go
13 lines
188 B
Go
package storage
|
|
|
|
import (
|
|
"context"
|
|
"github.com/lus/pasty/internal/pastes"
|
|
)
|
|
|
|
type Driver interface {
|
|
Initialize(ctx context.Context) error
|
|
Close() error
|
|
Pastes() pastes.Repository
|
|
}
|