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

16 lines
230 B
Go

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,
}
}