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:
redtea committed 2024-10-21 12:00:00 +03:00
1 parent 42c7f5795d
commit 43505548f7
14 files changed
+855

No files matched your search

+13
View File
@@ -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"`
}