mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-01 04:27:33 +00:00
19 lines
356 B
Go
19 lines
356 B
Go
|
package models
|
||
|
|
||
|
type TagTypeListItem struct {
|
||
|
ID uint `json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
}
|
||
|
|
||
|
type TagListItem struct {
|
||
|
ID string `json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
TagType string `json:"tagType"`
|
||
|
}
|
||
|
|
||
|
type PostListItem struct {
|
||
|
ID string `json:"id"`
|
||
|
ImagePath string `json:"image_path"`
|
||
|
Tags []string `json:"tags"`
|
||
|
}
|