orbis/internal/worker/worker.go

23 lines
251 B
Go
Raw Normal View History

2025-01-16 13:48:05 +01:00
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
}