mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-26 09:17:55 +00:00
16 lines
309 B
Go
16 lines
309 B
Go
package activities
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"github.com/mentos1386/zdravko/internal/config"
|
|
)
|
|
|
|
type Activities struct {
|
|
config *config.WorkerConfig
|
|
logger *slog.Logger
|
|
}
|
|
|
|
func NewActivities(config *config.WorkerConfig, logger *slog.Logger) *Activities {
|
|
return &Activities{config: config, logger: logger}
|
|
}
|