Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "archive", Short: "create a wiki dump", RunE: func(cmd *cobra.Command, args []string) error { if err := mysql.SetLogger(logger.Std()); err != nil { return errgo.Wrap(err, "can't replace mysql driver's errLog") } fmt.Println("dumping data with args:", args) start(out) return nil }, }
Functions ¶
This section is empty.
Types ¶
type Episode ¶
type Episode struct {
ID model.EpisodeID `json:"id"`
Name string `json:"name"`
NameCn string `json:"name_cn"`
Description string `json:"description"`
AirDate string `json:"airdate"`
Disc uint8 `json:"disc"`
Duration string `json:"duration"`
SubjectID model.SubjectID `json:"subject_id"`
Sort float32 `json:"sort"`
Type episode.Type `json:"type"`
}
type PersonCharacter ¶
type Subject ¶
type Subject struct {
ID model.SubjectID `json:"id"`
Type model.SubjectType `json:"type"`
Name string `json:"name"`
NameCN string `json:"name_cn"`
Infobox string `json:"infobox"`
Platform uint16 `json:"platform"`
Summary string `json:"summary"`
Nsfw bool `json:"nsfw"`
Tags []Tag `json:"tags"`
Score float64 `json:"score"`
ScoreDetails Score `json:"score_details"`
Rank uint32 `json:"rank"`
Date string `json:"date"`
Favorite Favorite `json:"favorite"`
Series bool `json:"series"`
}
type SubjectCharacter ¶
type SubjectPerson ¶
type SubjectRelation ¶
Click to show internal directories.
Click to hide internal directories.