Shioriko/pkg/models/read.go

13 lines
399 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 []string `json:"tags"`
Width int `json:"width"`
Height int `json:"height"`
Uploader string `json:"uploader"`
}