feat: add migration
This commit is contained in:
22
internal/worker/worker.go
Normal file
22
internal/worker/worker.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user