mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
265 B
Go
22 lines
265 B
Go
3 years ago
|
package api
|
||
|
|
||
|
type MemoOrganizer struct {
|
||
|
ID int
|
||
|
|
||
|
// Domain specific fields
|
||
|
MemoID int
|
||
|
UserID int
|
||
|
Pinned bool
|
||
|
}
|
||
|
|
||
|
type MemoOrganizerFind struct {
|
||
|
MemoID int
|
||
|
UserID int
|
||
|
}
|
||
|
|
||
|
type MemoOrganizerUpsert struct {
|
||
|
MemoID int
|
||
|
UserID int
|
||
|
Pinned bool `json:"pinned"`
|
||
|
}
|