mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: format server code
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user