chore: add get all memo api

This commit is contained in:
Steven
2022-09-05 21:14:17 +08:00
parent d68891d91d
commit f303dc21a0
7 changed files with 141 additions and 67 deletions

View File

@@ -37,6 +37,9 @@ type Memo struct {
Content string `json:"content"`
Visibility Visibility `json:"visibility"`
Pinned bool `json:"pinned"`
// Related fields
Creator *User `json:"creator"`
}
type MemoCreate struct {