update auth.go, database.go, docs.go, forum.go, go.mod, go.sum, main.go, post_schema.go, role.go, server.go, service.go, swagger.json, swagger.yaml, thread_schema.go
This commit is contained in:
1 parent
42c7f5795d
commit
43505548f7
14 files changed
+855
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package esforum
|
||||
|
||||
type Post struct {
|
||||
Id int64 `json:"id" gorm:"unique;primaryKey;autoIncrement"`
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
Thread int64 `json:"thread"`
|
||||
}
|
||||
|
||||
type Thread struct {
|
||||
Id int64 `json:"id" gorm:"unique;primaryKey;autoIncrement"`
|
||||
Title string `json:"title"`
|
||||
}
|
||||
Reference in new issue
Block a user