Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersonImages ¶
type Platform ¶
type Subject ¶
type Subject struct { Image string Summary string Name string NameCN string Infobox string CompatRawTags []byte // compat field for old tags OnHold uint32 Dropped uint32 Volumes uint32 Eps uint32 Wish uint32 Collect uint32 Doing uint32 ID uint32 PlatformID uint16 TypeID SubjectType Ban uint8 Airtime uint8 // air weekday, start from NSFW bool Rating Rating Redirect uint32 }
type SubjectImages ¶
type SubjectImages struct { Large string `json:"large"` Medium string `json:"medium"` Common string `json:"common"` }
func SubjectImage ¶
func SubjectImage(s string) SubjectImages
type SubjectType ¶
type SubjectType uint8
const ( SubjectBook SubjectType = iota + 1 SubjectAnime SubjectMusic SubjectGame SubjectReal )
func (SubjectType) Raw ¶
func (s SubjectType) Raw() uint8
func (SubjectType) String ¶
func (s SubjectType) String() string
Click to show internal directories.
Click to hide internal directories.