2024-08-28 09:09:01 +00:00
|
|
|
package svc
|
|
|
|
|
2024-08-28 14:29:42 +00:00
|
|
|
import "app-cloudep-tweeting-service/internal/config"
|
2024-08-28 09:09:01 +00:00
|
|
|
|
|
|
|
type ServiceContext struct {
|
|
|
|
Config config.Config
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewServiceContext(c config.Config) *ServiceContext {
|
|
|
|
return &ServiceContext{
|
|
|
|
Config: c,
|
|
|
|
}
|
|
|
|
}
|