Example #1
0
File: tbl.go Project: RyanDeng/qbot
func NewReminderTbl(cfg *qmgo.Config) (*ReminderTbl, error) {
	s := qmgo.Open(cfg)

	return &ReminderTbl{
		coll: s.Coll,
	}, nil
}
Example #2
0
File: tbl.go Project: RyanDeng/qbot
func NewContactTbl(cfg *qmgo.Config) (*ContactTbl, error) {
	s := qmgo.Open(cfg)

	return &ContactTbl{
		coll: s.Coll,
	}, nil
}