2023-07-22 20:51:46 +08:00
|
|
|
package persistence
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"mayfly-go/internal/auth/domain/entity"
|
|
|
|
|
"mayfly-go/internal/auth/domain/repository"
|
2023-10-26 17:15:49 +08:00
|
|
|
"mayfly-go/pkg/base"
|
2023-07-22 20:51:46 +08:00
|
|
|
)
|
|
|
|
|
|
2023-10-26 17:15:49 +08:00
|
|
|
type oauth2AccountRepoImpl struct {
|
|
|
|
|
base.RepoImpl[*entity.Oauth2Account]
|
2023-07-22 20:51:46 +08:00
|
|
|
}
|
|
|
|
|
|
2023-10-26 17:15:49 +08:00
|
|
|
func newAuthAccountRepo() repository.Oauth2Account {
|
|
|
|
|
return &oauth2AccountRepoImpl{base.RepoImpl[*entity.Oauth2Account]{M: new(entity.Oauth2Account)}}
|
2023-07-24 22:36:07 +08:00
|
|
|
}
|