chore: format server code

This commit is contained in:
email
2022-02-18 22:21:10 +08:00
parent 6f3663cd96
commit 3874523e61
8 changed files with 36 additions and 12 deletions

View File

@ -11,8 +11,9 @@ type Memo struct {
}
type MemoCreate struct {
Content string `json:"content"`
CreatorId int
Content string `json:"content"`
}
type MemoPatch struct {
@ -29,8 +30,7 @@ type MemoFind struct {
}
type MemoDelete struct {
Id *int `json:"id"`
CreatorId *int
Id *int `json:"id"`
}
type MemoService interface {