mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03:00
21 lines
251 B
Go
21 lines
251 B
Go
package api
|
|
|
|
type Tag struct {
|
|
Name string
|
|
CreatorID int
|
|
}
|
|
|
|
type TagUpsert struct {
|
|
Name string
|
|
CreatorID int `json:"-"`
|
|
}
|
|
|
|
type TagFind struct {
|
|
CreatorID int
|
|
}
|
|
|
|
type TagDelete struct {
|
|
Name string `json:"name"`
|
|
CreatorID int
|
|
}
|