Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerationAction ¶
func GenerationAction(c *cli.Context) error
Types ¶
type Querier ¶
type Querier interface { // GetByID // // SELECT * FROM @@table WHERE id=@id GetByID(id int) (gen.T, error) // TakeByUidAndTopic query data by uid and topic and return one // // where("uid=@uid AND topic=@topic") TakeByUidAndTopic(uid, topic string) (gen.T, error) // FindByUidAndTopic query data by uid and topic and return array // // where("uid=@uid AND topic=@topic") FindByUidAndTopic(uid, topic string) ([]*gen.T, error) }
Click to show internal directories.
Click to hide internal directories.