wip: rbac - 01
This commit is contained in:
@ -2,6 +2,7 @@ package interfaces
|
||||
|
||||
import (
|
||||
"context"
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
@ -20,3 +21,7 @@ type Cacher interface {
|
||||
type Scanner interface {
|
||||
Scan(model any) error
|
||||
}
|
||||
|
||||
type Store interface {
|
||||
Session(ctx ...context.Context) *gorm.DB
|
||||
}
|
||||
|
Reference in New Issue
Block a user