| 1234567891011121314151617181920 |
- // Code scaffolded by goctl. Safe to edit.
- // goctl {{.version}}
- package svc
- import (
- {{.configImport}}
- )
- type ServiceContext struct {
- Config {{.config}}
- {{.middleware}}
- }
- func NewServiceContext(c {{.config}}) *ServiceContext {
- return &ServiceContext{
- Config: c,
- {{.middlewareAssignment}}
- }
- }
|