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:", os.Args) var out string pflag.StringVar(&out, "out", "archive.zip", "zip file output location") pflag.Parse() 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"` SubjectID model.SubjectID `json:"subject_id"` Sort float32 `json:"sort"` Type model.EpType `json:"type"` }
type PersonCharacter ¶
type SubjectCharacter ¶
type SubjectPerson ¶
Click to show internal directories.
Click to hide internal directories.