feat mod
This commit is contained in:
@@ -6,7 +6,6 @@ package query
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.hlsq.asia/mmorpg/service-user/internal/dao/model"
|
|
||||||
|
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
"gorm.io/gorm/clause"
|
"gorm.io/gorm/clause"
|
||||||
@@ -16,6 +15,8 @@ import (
|
|||||||
"gorm.io/gen/field"
|
"gorm.io/gen/field"
|
||||||
|
|
||||||
"gorm.io/plugin/dbresolver"
|
"gorm.io/plugin/dbresolver"
|
||||||
|
|
||||||
|
"git.hlsq.asia/mmorpg/service-user/internal/dao/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newQuestion(db *gorm.DB, opts ...gen.DOOption) question {
|
func newQuestion(db *gorm.DB, opts ...gen.DOOption) question {
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ package query
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"git.hlsq.asia/mmorpg/service-user/internal/dao/model"
|
|
||||||
|
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
"gorm.io/gorm/clause"
|
"gorm.io/gorm/clause"
|
||||||
@@ -16,6 +15,8 @@ import (
|
|||||||
"gorm.io/gen/field"
|
"gorm.io/gen/field"
|
||||||
|
|
||||||
"gorm.io/plugin/dbresolver"
|
"gorm.io/plugin/dbresolver"
|
||||||
|
|
||||||
|
"git.hlsq.asia/mmorpg/service-user/internal/dao/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newUser(db *gorm.DB, opts ...gen.DOOption) user {
|
func newUser(db *gorm.DB, opts ...gen.DOOption) user {
|
||||||
|
|||||||
Reference in New Issue
Block a user