13 lines
154 B
Go
13 lines
154 B
Go
package tasks
|
|
|
|
import (
|
|
"github.com/go-pg/pg/v10"
|
|
|
|
"github.com/tribalwarshelp/cron/cron/queue"
|
|
)
|
|
|
|
type task struct {
|
|
db *pg.DB
|
|
queue queue.Queue
|
|
}
|