🎨 remove xorm & add gorm gen
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
COMMENT int = iota
|
||||
COMMENT int64 = iota
|
||||
REPLY
|
||||
)
|
||||
|
||||
const (
|
||||
CommentTopicType = iota
|
||||
CommentTopicType int64 = iota
|
||||
)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
NotDeleted int8 = iota
|
||||
Deleted int8 = 1
|
||||
NotDeleted int64 = iota
|
||||
Deleted int64 = 1
|
||||
)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
Female int8 = iota
|
||||
Female int64 = iota
|
||||
Male
|
||||
)
|
||||
|
5
app/core/api/common/constant/mongodb.go
Normal file
5
app/core/api/common/constant/mongodb.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
COMMENT_IMAGES = "comment_images"
|
||||
)
|
Reference in New Issue
Block a user