16 lines
235 B
Go
16 lines
235 B
Go
package svc
|
|
|
|
import (
|
|
"git.cialloo.com/CiallooWeb/Blog/app/internal/config"
|
|
)
|
|
|
|
type ServiceContext struct {
|
|
Config config.Config
|
|
}
|
|
|
|
func NewServiceContext(c config.Config) *ServiceContext {
|
|
return &ServiceContext{
|
|
Config: c,
|
|
}
|
|
}
|