@@ -15,12 +15,12 @@ const svcTemplate = `package svc
import {{.imports}}
type ServiceContext struct {
- c config.Config
+ Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
- c:c,
+ Config:c,
`