12 lines
232 B
Go
12 lines
232 B
Go
package payment
|
|
|
|
import (
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
// Provider is the narrow persistence seam required by payment repositories.
|
|
// Keeping it here lets payment remain an independent data module.
|
|
type Provider interface {
|
|
DB() *gorm.DB
|
|
}
|