Shioriko/pkg/models/read.go

13 lines
439 B
Go

package models
type PostReadModel struct {
ID string `json:"id"`
ImagePreviewPath string `json:"preview_path"`
ImagePath string `json:"image_path"`
SourceURL string `json:"source_url"`
Tags []TagListItem `json:"tags"`
Width int `json:"width"`
Height int `json:"height"`
Uploader string `json:"uploader"`
}