template-monorepo/internal/svc/service_context.go

19 lines
267 B
Go
Raw Normal View History

2026-05-19 11:00:28 +00:00
// Code scaffolded by goctl. Safe to edit.
// goctl 1.10.1
package svc
import (
"gateway/internal/config"
)
type ServiceContext struct {
Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
}
}