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_zorm.go

22 lines
269 B

2 years ago
package gojobs
import "gitee.com/chunanyong/zorm"
2 years ago
// Zorm数据库驱动
type jobsZorm struct {
db *zorm.DBDao
2 years ago
}
2 years ago
// NewJobsZorm 初始化
func NewJobsZorm(db *zorm.DBDao) *jobsZorm {
2 years ago
var (
2 years ago
j = &jobsZorm{}
2 years ago
)
2 years ago
j.db = db
return j
}
func (j *jobsZorm) Run() {
2 years ago
}