mirror of
https://github.com/usememos/memos.git
synced 2024-12-24 03:33:52 +03:00
25 lines
346 B
Go
25 lines
346 B
Go
package api
|
|
|
|
type MemoResource struct {
|
|
MemoID int
|
|
ResourceID int
|
|
CreatedTs int64
|
|
UpdatedTs int64
|
|
}
|
|
|
|
type MemoResourceUpsert struct {
|
|
MemoID int `json:"-"`
|
|
ResourceID int
|
|
UpdatedTs *int64
|
|
}
|
|
|
|
type MemoResourceFind struct {
|
|
MemoID *int
|
|
ResourceID *int
|
|
}
|
|
|
|
type MemoResourceDelete struct {
|
|
MemoID *int
|
|
ResourceID *int
|
|
}
|