feat: add migration

This commit is contained in:
2025-01-16 13:48:05 +01:00
parent 703f2ae096
commit a68eae8519
9 changed files with 198 additions and 16 deletions

22
internal/worker/worker.go Normal file
View File

@@ -0,0 +1,22 @@
package worker
import (
"context"
"github.com/google/uuid"
)
type Worker struct {
workerID uuid.UUID
}
func NewWorker() *Worker {
return &Worker{
workerID: uuid.New(),
}
}
func (w *Worker) Setup(ctx context.Context) error {
return nil
}