mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 08:20:25 +08:00
refactor: 消息模块重构,infra包路径简写等
This commit is contained in:
15
server/internal/auth/infra/persistence/oauth2.go
Normal file
15
server/internal/auth/infra/persistence/oauth2.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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{}
|
||||
}
|
||||
Reference in New Issue
Block a user