2025-02-05 18:45:49 +08:00
|
|
|
package svc
|
|
|
|
|
2025-02-07 15:18:26 +08:00
|
|
|
import (
|
|
|
|
"gitea.youtukeji.com.cn/xiabin/youtu_grpc/app/user_management/internal/config"
|
|
|
|
)
|
2025-02-05 18:45:49 +08:00
|
|
|
|
|
|
|
type ServiceContext struct {
|
|
|
|
Config config.Config
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewServiceContext(c config.Config) *ServiceContext {
|
|
|
|
return &ServiceContext{
|
|
|
|
Config: c,
|
|
|
|
}
|
|
|
|
}
|