14 lines
219 B
Go
14 lines
219 B
Go
|
package svc
|
||
|
|
||
|
import "app-cloudep-order-server/internal/config"
|
||
|
|
||
|
type ServiceContext struct {
|
||
|
Config config.Config
|
||
|
}
|
||
|
|
||
|
func NewServiceContext(c config.Config) *ServiceContext {
|
||
|
return &ServiceContext{
|
||
|
Config: c,
|
||
|
}
|
||
|
}
|