app-cloudep-portal-api-gateway/internal/svc/service_context.go

16 lines
230 B
Go
Raw Normal View History

2024-08-25 07:08:49 +00:00
package svc
import (
"app-cloudep-portal-api-gateway/internal/config"
)
type ServiceContext struct {
Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
}
}