1
1
mirror of https://github.com/usememos/memos.git synced 2024-12-23 19:21:57 +03:00
memos/api/tag.go

21 lines
251 B
Go
Raw Normal View History

package api
type Tag struct {
Name string
CreatorID int
}
type TagUpsert struct {
Name string
2022-12-28 15:22:52 +03:00
CreatorID int `json:"-"`
}
type TagFind struct {
CreatorID int
}
type TagDelete struct {
2023-02-10 18:57:02 +03:00
Name string `json:"name"`
CreatorID int
}