You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.go
    path of file: ./repos/Email-Dashboard/go-api-worker/workers/producer
    
    the code of the file until where you have to start completion: package producer

import (
	"fmt"
	"log"
	"os"
	"os/signal"
	"time"

	"go-api-worker/models"
	"go-api-worker/workers/conf"

	"github.com/gocraft/work"
	"github.com/robfig/cron"
)

// Make an enqueuer with a particular namespace
var enqueuer = work.NewEnqueuer("notification_center_work", redisconf.RedisPool)

// Start producer : consumer.Start()
func S
    
func enqueueJobs() {
	var activities []models.Activity
	models.GetDB().Where("status = 'pending' OR status = 'scheduled' AND send_at < ?", time.Now()).Find(&activities)

	for _, act := range activities {
		// Enqueue a job named "send_email" with the specified parameters.
		_, err := enqueuer.EnqueueUnique("send_email", work.Q{"activity_id": act.ID})
		if err != nil {
			log.Fatal(err)
		}
	}
}