Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "fix-hotness", Usage: "Fix hotness of all posts", Action: func(ctx *cli.Context) error { db := ctx.Context.Value("db").(*sql.DB) if err := core.UpdateAllPostsHotness(ctx.Context, db); err != nil { return err } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.