Discover Packages
github.com/Waifu-im/waifu-api
serializers
package
Version:
v0.0.0-...-4711403
Opens a new window with list of versions in this module.
Published: Sep 2, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
Documentation
¶
type FavState struct {
State string `json:"state" example:"INSERT"`
}
type Image struct {
Id int64 `json:"image_id"`
}
type ImagesJsonResponse struct {
Images []models .Image `json:"images"`
}
ImagesJsonResponse Represent A JSON Response Content just before it is Serialized
type JSONError struct {
Detail string `json:"detail"`
}
type ReportImage struct {
Id int64 `json:"image_id"`
Description *string `json:"description" maxLength:"200" example:"Here is a less than 200 characters and optional description"`
}
type TagsJsonResponse struct {
Versatile []interface{} `json:"versatile"`
Nsfw []interface{} `json:"nsfw"`
}
type User struct {
Id int64 `json:"user_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.