mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 15:53:45 +00:00
17 lines
309 B
Go
17 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}
|
||
|
}
|