mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-07 18:00:25 +08:00
16 lines
372 B
Go
16 lines
372 B
Go
package persistence
|
|
|
|
import (
|
|
"mayfly-go/internal/auth/domain/entity"
|
|
"mayfly-go/internal/auth/domain/repository"
|
|
"mayfly-go/pkg/base"
|
|
)
|
|
|
|
type oauth2AccountRepoImpl struct {
|
|
base.RepoImpl[*entity.Oauth2Account]
|
|
}
|
|
|
|
func newAuthAccountRepo() repository.Oauth2Account {
|
|
return &oauth2AccountRepoImpl{base.RepoImpl[*entity.Oauth2Account]{M: new(entity.Oauth2Account)}}
|
|
}
|