11 lines
121 B
Go
11 lines
121 B
Go
|
package interfaces
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"gorm.io/gorm"
|
||
|
)
|
||
|
|
||
|
type Database interface {
|
||
|
TX(ctx context.Context) *gorm.DB
|
||
|
}
|