You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gojobs/jobs_xorm.go

22 lines
258 B

package gojobs
import "xorm.io/xorm"
// Xorm数据库驱动
type jobsXorm struct {
db *xorm.Engine
}
// NewJobsXorm 初始化
func NewJobsXorm(db *xorm.Engine) *jobsXorm {
var (
j = &jobsXorm{}
)
j.db = db
return j
}
func (j *jobsXorm) Run() {
}