Files
mayfly-go/server/internal/auth/infrastructure/persistence/oauth2.go

16 lines
372 B
Go
Raw Normal View History

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