chore: move server package to root

This commit is contained in:
Noah Hsu
2022-06-26 19:10:14 +08:00
parent 4cef3adc90
commit c67f128f15
9 changed files with 39 additions and 39 deletions

12
server/common/resp.go Normal file
View File

@ -0,0 +1,12 @@
package common
type Resp struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
}
type PageResp struct {
Content interface{} `json:"content"`
Total int64 `json:"total"`
}